Skip to content

Commit 05c7a85

Browse files
cratelynkflynn
andauthored
feat(docs): add new inbound proxy metrics (#2093)
* feat(docs): add new inbound proxy metrics this commit introduces documentation for the inbound proxy metrics that have been added in recent edge releases. see these commits for more information: * linkerd/linkerd2-proxy#4420 * linkerd/linkerd2-proxy#4313 * linkerd/linkerd2-proxy#4180 * linkerd/linkerd2-proxy#4165 * linkerd/linkerd2-proxy#4127 Signed-off-by: katelyn martin <kate@buoyant.io> * chore(docs): add no-duplicate-heading linter directives this commit adds some linter directives to silence warnings related to duplicate headers. in this case, it's valid to have duplicate labels, because different families of metrics, naturally, both have labels. Signed-off-by: katelyn martin <kate@buoyant.io> --------- Signed-off-by: katelyn martin <kate@buoyant.io> Co-authored-by: Flynn <kflynn@users.noreply.github.com>
1 parent 15b404d commit 05c7a85

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

linkerd.io/content/2-edge/reference/proxy-metrics.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ layer.
231231
- `inbound_tcp_authz_deny_total`: A counter of the total number of TCP
232232
connections that were denied
233233

234+
<!-- markdownlint-disable-next-line no-duplicate-heading -->
234235
### Labels
235236

236237
Each of these metrics has the following labels:
@@ -307,6 +308,36 @@ The outbound proxy records the following metrics:
307308
- `outbound_grpc_route_backend_response_frame_size_bytes`: A histogram measuring
308309
the sizes of `DATA` frames in gRPC response bodies from a particular backend.
309310

311+
The inbound proxy records the following metrics:
312+
313+
- `inbound_http_requests_total`: A counter tracking the total number of inbound HTTP
314+
requests received by a particular backend.
315+
- `inbound_grpc_requests_total`: A counter tracking the total number of inbound gRPC
316+
requests received by a particular backend.
317+
- `inbound_http_statuses_total`: A counter tracking HTTP response status codes for
318+
HTTP traffic received by a particular backend.
319+
- `inbound_grpc_statuses_total`: A counter tracking gRPC response status codes for
320+
gRPC traffic received by a particular backend.
321+
- `inbound_http_request_duration_seconds`: A histogram measuring the time
322+
between HTTP request initialization and HTTP response completion.
323+
- `inbound_http_response_duration_seconds`: A histogram measuring the time in
324+
seconds between the HTTP request completing and HTTP response completing, for
325+
a particular backend.
326+
- `inbound_grpc_request_duration_seconds`: A histogram measuring the time
327+
between gRPC request initialization and gRPC response completion.
328+
- `inbound_grpc_response_duration_seconds`: A histogram measuring the time in
329+
seconds between the gRPC request completing and gRPC response completing, for
330+
a particular backend.
331+
- `inbound_http_request_frame_size_bytes`: A histogram measuring the
332+
sizes of `DATA` frames in HTTP request bodies for a particular route.
333+
- `inbound_http_response_frame_size_bytes`: A histogram measuring the
334+
sizes of `DATA` frames in HTTP response bodies for a particular route.
335+
- `inbound_grpc_request_frame_size_bytes`: A histogram measuring the
336+
sizes of `DATA` frames in gRPC request bodies for a particular route.
337+
- `inbound_grpc_response_frame_size_bytes`: A histogram measuring the
338+
sizes of `DATA` frames in gRPC response bodies for a particular route.
339+
340+
<!-- markdownlint-disable-next-line no-duplicate-heading -->
310341
### Labels
311342

312343
Each of these metrics has the following common labels, which describe the

0 commit comments

Comments
 (0)