Azure / fleet

Multi-cluster core
MIT License
80 stars 25 forks source link

feat: add counter prometheus metric from fleet guard rail rejection #918

Closed Arvindthiru closed 2 weeks ago

Arvindthiru commented 1 month ago

Description of your changes

Fixes #

I have:

How has this code been tested

Special notes for your reviewer

image

Arvindthiru commented 1 month ago

Looks like the API Server exposes the rejection count as a prometheus metric by default https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#admission-webhook-metrics

image