Kubewarden exposes some relevant metrics that enhance visibility of the platform, and allows cluster administrators and policy developers to identify patterns and potential issues.
The Policy Server is the component that initializes and runs policies. Upon receiving requests from the Kubernetes API server, it will forward the request to the policy, and return the response provided by the policy to the Kubernetes API server.
Note: Baggage are key-value attributes added to the metric. They are used to enrich the metric with additional information.
|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.|