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

Commit 342a2a0

Browse files
authored
Add RPC constants started_rpcs. (#120)
* Add RPC constants started_rpcs. * Remove tag key status from started_rpcs views.
1 parent 2eca89b commit 342a2a0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

stats/gRPC.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Client stats are recorded at the end of each outbound RPC.
3737
| grpc.io/client/received_bytes_per_rpc | By | Total bytes received across all response messages per RPC. |
3838
| grpc.io/client/roundtrip_latency | ms | Time between first byte of request sent to last byte of response received, or terminal error. |
3939
| grpc.io/client/server_latency | ms | Propagated from the server and should have the same value as "grpc.io/server/latency". |
40+
| grpc.io/client/started_rpcs | 1 | The total number of client RPCs ever opened, including those that have not completed. |
4041

4142
### Tags
4243

@@ -64,6 +65,7 @@ The following set of views are considered minimum required to monitor client-sid
6465
| grpc.io/client/received_bytes_per_rpc | grpc.io/client/received_bytes_per_rpc | distribution | grpc_client_method |
6566
| grpc.io/client/roundtrip_latency | grpc.io/client/roundtrip_latency | distribution | grpc_client_method |
6667
| grpc.io/client/completed_rpcs | grpc.io/client/roundtrip_latency | count | grpc_client_method, grpc_client_status |
68+
| grpc.io/client/started_rpcs | grpc.io/client/started_rpcs | count | grpc_client_method |
6769

6870
### Extra views
6971

@@ -86,6 +88,8 @@ Server stats are recorded at the end of processing each RPC.
8688
| grpc.io/server/sent_messages_per_rpc | 1 | Number of messages sent in each RPC. Has value 1 for non-streaming RPCs. |
8789
| grpc.io/server/sent_bytes_per_rpc | By | Total bytes sent in across all response messages per RPC. |
8890
| grpc.io/server/server_latency | ms | Time between first byte of request received to last byte of response sent, or terminal error. |
91+
| grpc.io/server/started_rpcs | 1 | The total number of server RPCs ever opened, including those that have not completed. |
92+
8993

9094
### Tags
9195

@@ -114,6 +118,7 @@ The following set of views are considered minimum required to monitor server sid
114118
| grpc.io/server/sent_bytes_per_rpc | grpc.io/server/sent_bytes_per_rpc | distribution | grpc_server_method |
115119
| grpc.io/server/server_latency | grpc.io/server/server_latency | distribution | grpc_server_method |
116120
| grpc.io/server/completed_rpcs | grpc.io/server/server_latency | count | grpc_server_method, grpc_server_status |
121+
| grpc.io/server/started_rpcs | grpc.io/server/started_rpcs | count | grpc_server_method |
117122

118123
### Extra views
119124

0 commit comments

Comments
 (0)