Skip to content

Commit 74cf40b

Browse files
committed
ignore metrics doc
1 parent e46b931 commit 74cf40b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/serving/services/service-metrics.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ Requests endpoint.
1919
!!! note
2020
The `revision_queue_depth` metric will be exported only if the revision concurrency hard limit is set to a value greater than 1.
2121

22+
!!! note
23+
To exclude request from metrics (e.g. health check requests), set the `K-Ignore-Metrics` header to non-empty value.
24+
2225
## Exposing Queue proxy metrics
2326

2427
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

Comments
 (0)