Client Queries
This metric can be used to track the number of queries per second (QPS) from Kyverno.
Metric Name(s)
kyverno_client_queries_total
Metric Value
Counter - An only-increasing integer representing the total number of policy-level changes associated with a metric sample.
Metric Labels
Label | Allowed Values | Description |
---|---|---|
client_type | dynamic, kubeclient, kyverno, policyreport | Client type |
operation | create, get, list, update, update_status, delete, delete_collection, watch, patch | Operation performed |
resource_kind | Resource kind | |
resource_namespace | Resource Namespace |
Use cases
- The cluster admin wants to track how many queries per second Kyverno is making to the Kubernetes API server
Useful Queries
kyverno_client_queries_total
rate(kyverno_client_queries_total{client_type="dynamic"}[5m])
increase(kyverno_client_queries_total{client_type="dynamic"}[5m])
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)