Skip to content

Commit

Permalink
ignore metrics doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-stanek committed Jan 6, 2025
1 parent e46b931 commit 74cf40b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/serving/services/service-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ Requests endpoint.
!!! note
The `revision_queue_depth` metric will be exported only if the revision concurrency hard limit is set to a value greater than 1.

!!! note
To exclude request from metrics (e.g. health check requests), set the `K-Ignore-Metrics` header to non-empty value.

## Exposing Queue proxy metrics

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
Expand Down

0 comments on commit 74cf40b

Please sign in to comment.