HTTP Requests Latency
This metric can be used to track the latencies associated with HTTP requests.
Metric Name(s)
kyverno_http_requests_duration_seconds_count
kyverno_http_requests_duration_seconds_sum
kyverno_http_requests_duration_seconds_bucket
Metric Value
Histogram - A float value representing the latency of the HTTP request processing in seconds.
See Prometheus docs for a detailed explanation of how histograms work.
Metric Labels
Label | Allowed Values | Description |
---|---|---|
http_method | GET , POST , etc. | HTTP method |
http_url | URL of the request |
Use cases
- The cluster admin wants to know how fast/slow http requests are processed for a given http method.
Useful Queries
- Average http requests latency per http url and method:
avg by (http_url, http_method) (kyverno_http_requests_duration_seconds_sum / kyverno_http_requests_duration_seconds_count)
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified May 16, 2023 at 9:40 PM PST: fix: metrics docs (#851) (ea09ee2)