ValidatingAdmissionPolicy: fixes to metrics #124064
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
sig/api-machinery
Categorizes an issue or PR as relevant to SIG API Machinery.
sig/instrumentation
Categorizes an issue or PR as relevant to SIG Instrumentation.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What would you like to be added?
As of 1.3, ValidatingAdmissionPolicy metrics are in alpha stability [1]. Currently the metrics have following problems:
This issue purpose the following enhancements to the metrics:
error
tocheck_total
andcheck_duration_seconds
RUNTIME
,PARAMS
,INTERNAL
. The label can be empty for no errors;ObserveRejection
, to record any denials coming from errors;ObserveRejection
is called;References:
Why is this needed?
resolve the issues mentioned above.
Let's discuss the beta graduation of the metrics in another issue.
The text was updated successfully, but these errors were encountered: