Skip to content

Client Queries

  • kyverno_client_queries_total

Counter - An only-increasing integer representing the total number of policy-level changes associated with a metric sample.

LabelAllowed ValuesDescription
client_typedynamic, kubeclient, kyverno, policyreportClient type
operationcreate, get, list, update, update_status, delete, delete_collection, watch, patchOperation performed
resource_kindResource kind
resource_namespaceResource Namespace
  • The cluster admin wants to track how many queries per second Kyverno is making to the Kubernetes API server
  • kyverno_client_queries_total
  • rate(kyverno_client_queries_total{client_type="dynamic"}[5m])
  • increase(kyverno_client_queries_total{client_type="dynamic"}[5m])