Metrics reference
Kubewarden exposes relevant platform metrics allowing cluster administrators and policy developers to identify patterns and potential issues.
Policy Server
The Policy Server component initializes and runs policies. When receiving requests from the Kubernetes API server, it forwards the request to the policy, returning the response provided by the policy to the Kubernetes API server.
Metrics
Baggage key-value attributes are added to the metric to provide additional information. |
Name | Type | |
---|---|---|
|
Counter |
kubewarden_policy_evaluations_total
Baggage
Label | Description |
---|---|
|
Name of the policy |
|
Name of the evaluated resource |
|
Kind of the evaluated resource |
|
Namespace of the evaluated resource. Not present if the resource is cluster scoped. |
|
Operation type: |
|
Whether the request was accepted or not |
|
Whether the request was mutated or not |
|
Error code returned by the policy in case of rejection, if any. Not present if the policy didn’t provide one. |