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/serving/services/service-metrics.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,9 @@ Requests endpoint.
19
19
!!! note
20
20
The `revision_queue_depth` metric will be exported only if the revision concurrency hard limit is set to a value greater than 1.
21
21
22
+
!!! note
23
+
To exclude request from metrics (e.g. health check requests), set the `K-Ignore-Metrics` header to non-empty value.
24
+
22
25
## Exposing Queue proxy metrics
23
26
24
27
Queue proxy exports metrics for the requests endpoint on port 9091. The metrics can be scraped by Prometheus when `metrics.request-metrics-backend-destination` is set to `prometheus` (default) in the configmap `observability`. The backend can be changed to `opencensus` which uses a push model and requires a destination
0 commit comments