Repository navigation
fix(metrics): Initialise dynamic serving certificate signing counters - #9644
cert-manager-prow[bot] merged 1 commit into
Conversation
Signed-off-by: Evgenii Fadeev <[email protected]>
|
Hi @efadeev. 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 Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
|
Thank you for the quick follow-up. This does what I asked in #9432 (comment).
I have not run the tests myself. CI will run them now. /ok-to-test [Claude Fable 5.2] |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wallrj The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Pull Request Motivation
Follow-up to #9432, addressing #9432 (comment).
The
status="failure"series ofcertmanager_dynamic_serving_certificate_signings_totalwas only created by the first failed signing, sorate()andincrease()missed that first failure and a query onstatus="failure"returned no data on a healthy system.DynamicAuthority.Runnow creates both thesuccessand thefailureseries, so they are exported as0from start-up, as recommended by Prometheus.Testing:
go test -race ./pkg/server/tls/..., including the newTestDynamicAuthorityMetricsInit.Kind
/kind bug
Release Note