New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce promlint to guarantee metrics follow Prometheus best practices #86477
Introduce promlint to guarantee metrics follow Prometheus best practices #86477
Conversation
/cc @brancz Please take a look. |
Wow that was super fast! Very awesome! /lgtm |
@brancz By the way, I don't know how to do with a binary for this... |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brancz, RainbowMango The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test pull-kubernetes-verify |
/test pull-kubernetes-e2e-gce-device-plugin-gpu |
/cc @coffeepac @ehashman @logicalhan |
Really awesome! lgtm 👍 Once in place, could we open issues for each of these violations? (maybe bundled per component) /lgtm |
/test pull-kubernetes-conformance-kind-ga-only-parallel
Sure. I'll clean up all legacy metrics which violate the rules once then. |
test ... ignore me! |
I caught you @dims :) :) :) |
LOL @RainbowMango |
just so you know... i have this PR in my dashboard ( https://gubernator.k8s.io/pr ) and i am trying to see if a new event helps my dashboard pull latest status (and drop it from my queue since this is already merged! ) :) |
Good to know. I never heard of the dashboard before. But seems this PR in my dashboard too with the status |
dang! i can't get rid of this :) |
neither can I. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Introduce the Prometheus tool
promlint
to guarantee metrics follow best practices.Which issue(s) this PR fixes:
Follow up: #85173 (comment)
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: