HTTP Requests Count
This metric can be used to track the number of http requests which were triggered as a part of Kyverno.
Metric Name(s)
kyverno_http_requests_total
Metric Value
Counter - An only-increasing integer representing the count of http requests associated with a sample.
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 many http requests were triggered in the last 24h hence, know how active Kyverno has been.
- The cluster admin wants to know what percentage of total incoming http requests to Kyverno correspond to a specific HTTP method or URL.
Useful Queries
Total admission requests triggered in the last 24h:
sum(increase(kyverno_http_requests_total{}[24h]))
Percentage of total incoming admission requests corresponding to resource creations:
sum(kyverno_http_requests_total{http_method="POST"})/sum(kyverno_http_requests_total{})
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.