-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feat(metrics): adding certmanager_certificate_challenge_status
metric
#7736
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
base: master
Are you sure you want to change the base?
feat(metrics): adding certmanager_certificate_challenge_status
metric
#7736
Conversation
Signed-off-by: hjoshi123 <hemant.joshi@vizio.com>
@hjoshi123: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @hjoshi123. Thanks for your PR. I'm waiting for a cert-manager member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/kind feature |
/ok-to-test |
Signed-off-by: hjoshi123 <hemant.joshi@vizio.com>
2812dfc
to
501a401
Compare
Signed-off-by: hjoshi123 <hemant.joshi@vizio.com>
@ThatsMrTalbot there was also talk of adding age of challenge as a label.. I was thinking of a different. metric for that since this metric is only supposed to tell the status.. what's your take on that? |
Age should not be a label, age is a constantly changing value, having it as a label would introduce high cardinality |
Ah yes I didnt think of that.. so how would we solve it if we wanted to? it doesnt have to be this PR I am guessing but in general. |
Signed-off-by: hjoshi123 <hemant.joshi@vizio.com>
The way I have seen time metrics work in the past is having a metric that contains a unix timestamp, for example |
The code looks good, I want to run it locally, make sure it behaves as the code reads. |
Pull Request Motivation
feature
Fixes #7700. This PR adds the new challenge status metric with a controller which monitors the challenges.
/kind
Release Note