HTTP Requests Latency
Metric Name(s)
Section titled “Metric Name(s)”kyverno_http_requests_duration_seconds_countkyverno_http_requests_duration_seconds_sumkyverno_http_requests_duration_seconds_bucket
Metric Value
Section titled “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
Section titled “Metric Labels”| Label | Allowed Values | Description |
|---|---|---|
| http_method | GET, POST, etc. | HTTP method |
| http_url | URL of the request |
Use cases
Section titled “Use cases”- The cluster admin wants to know how fast/slow http requests are processed for a given http method.
Useful Queries
Section titled “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)