You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/actuator.md
+46Lines changed: 46 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,50 @@ Once the dependencies are added grpc-spring-boot-starter will automatically conf
73
73
-`methodType`: The type of the requested grpc method.
74
74
-`statusCode`: Response `Status.Code`
75
75
76
+
## gRPC A66 Metrics
77
+
78
+
In addition to above listed metrics, once the dependencies are added grpc-spring-boot-starter will automatically configure to gather [gRPC A66](https://github.com/grpc/proposal/blob/master/A66-otel-stats.md) metrics.
79
+
80
+
### Client Metrics
81
+
82
+
### Counter
83
+
84
+
-`grpc.client.attempt.started`: The total number of RPC attempts started, including those that have not completed.
85
+
- Tags: `grpc.method`
86
+
87
+
### Distribution
88
+
89
+
-`grpc.client.attempt.sent_total_compressed_message_size`: Total bytes (compressed but not encrypted) sent across all request messages (metadata excluded) per RPC attempt.
90
+
- Tags: `grpc.method`, `grpc.status`
91
+
-`grpc.client.attempt.rcvd_total_compressed_message_size`: Total bytes (compressed but not encrypted) received across all response messages (metadata excluded) per RPC attempt.
92
+
- Tags: `grpc.method`, `grpc.status`
93
+
94
+
### Timer
95
+
96
+
-`grpc.client.attempt.duration`: The total time taken to complete an RPC attempt including the time it takes to pick a sub channel.
97
+
- Tags: `grpc.method`, `grpc.status`
98
+
-`grpc.client.call.duration`: The total time taken by gRPC library to complete an RPC from the application’s perspective.
99
+
- Tags: `grpc.method`, `grpc.status`
100
+
101
+
### Server Metrics
102
+
103
+
### Counter
104
+
105
+
-`grpc.server.call.started`: The total number of RPCs started, including those that have not completed.
106
+
- Tags: `grpc.method`
107
+
108
+
### Distribution
109
+
110
+
-`grpc.server.call.sent_total_compressed_message_size`: Total bytes (compressed but not encrypted) sent across all response messages (metadata excluded) per RPC.
111
+
- Tags: `grpc.method`, `grpc.status`
112
+
-`grpc.server.call.rcvd_total_compressed_message_size`: Total bytes (compressed but not encrypted) received across all request messages (metadata excluded) per RPC.
113
+
- Tags: `grpc.method`, `grpc.status`
114
+
115
+
### Timer
116
+
117
+
-`grpc.server.call.duration`: The total time an RPC takes from the server transport’s perspective.
118
+
- Tags: `grpc.method`, `grpc.status`
119
+
76
120
### Viewing the metrics
77
121
78
122
You can view the grpc metrics along with your other metrics at `/actuator/metrics` (requires a web-server) or via JMX.
0 commit comments