Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 555e5b4

Browse files
author
Ramon Nogueira
authored
Include status in client views (#184)
1 parent 8f06490 commit 555e5b4

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

stats/HTTP.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Buckets for distributions in default views are as follows:
2222

2323
### Measures
2424

25-
Client stats are recorded for each individual HTTP request, including for each individual redirect (followed or not).
25+
Client stats are recorded for each individual HTTP request, including for each individual redirect (followed or not). All stats are recorded after request processing (usually after the response body has been fully read).
2626

2727
| Measure name | Unit | Description |
2828
|---------------------------------------------|------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
@@ -32,7 +32,7 @@ Client stats are recorded for each individual HTTP request, including for each i
3232

3333
### Tags
3434

35-
All client metrics should be tagged with the following.
35+
All client measures should be tagged with the following.
3636

3737
| Tag name | Description |
3838
|--------------------|----------------------------------------------------------------------------------------------------------|
@@ -55,9 +55,9 @@ The following set of views are considered minimum required to monitor client sid
5555

5656
| View name | Measure | Aggregation | Tags |
5757
|---------------------------------------------|---------------------------------------------|--------------|----------------------------------------|
58-
| opencensus.io/http/client/sent_bytes | opencensus.io/http/client/sent_bytes | distribution | http_client_method |
59-
| opencensus.io/http/client/received_bytes | opencensus.io/http/client/received_bytes | distribution | http_client_method |
60-
| opencensus.io/http/client/roundtrip_latency | opencensus.io/http/client/roundtrip_latency | distribution | http_client_method |
58+
| opencensus.io/http/client/sent_bytes | opencensus.io/http/client/sent_bytes | distribution | http_client_method, http_client_status |
59+
| opencensus.io/http/client/received_bytes | opencensus.io/http/client/received_bytes | distribution | http_client_method, http_client_status |
60+
| opencensus.io/http/client/roundtrip_latency | opencensus.io/http/client/roundtrip_latency | distribution | http_client_method, http_client_status |
6161
| opencensus.io/http/client/completed_count | opencensus.io/http/client/roundtrip_latency | count | http_client_method, http_client_status |
6262

6363
## Server
@@ -66,7 +66,7 @@ Server measures are recorded at the end of request processing.
6666

6767
### Measures
6868

69-
Server stats are recorded for each individual HTTP request, including for each redirect (followed or not).
69+
Server stats are recorded for each individual HTTP request handled. They are recorded at the end of request handling.
7070

7171
| Measure name | Unit | Description |
7272
|------------------------------------------|------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|

0 commit comments

Comments
 (0)