This is unreleased documentation for Policy Manager 1.24-next. |
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 | Baggage |
---|---|---|
|
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: |
|
Was the request accepted? |
|
Was the request mutated? |
|
Error code returned by the policy if rejected, if any. Not present if the policy didn’t provide one. |