Skip to content

Document the dynamic serving certificate metrics - #2383

Open
efadeev wants to merge 1 commit into
cert-manager:release-nextfrom
efadeev:dynamic-serving-certificate-metrics
Open

efadeev wants to merge 1 commit into
cert-manager:release-nextfrom
efadeev:dynamic-serving-certificate-metrics

Conversation

@efadeev

@efadeev efadeev commented Nov 23, 2026

Copy link
Copy Markdown

Documents the three metrics for dynamically generated serving certificates added in cert-manager/cert-manager#9432, as requested in cert-manager/cert-manager#9432 (comment).

The metrics will be released in v1.22.0, so this targets release-next.

The increase(...{status="failure"}[1h]) alert example catches the first failure only once cert-manager/cert-manager#9644 is merged, which creates the failure series at start-up.

@cert-manager-prow cert-manager-prow Bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 23, 2026
@netlify

netlify Bot commented Nov 23, 2026

Copy link
Copy Markdown

✅ Deploy Preview for cert-manager ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 636ec1b
🔍 Latest deploy log https://app.netlify.com/projects/cert-manager/deploys/6b040868a3705b1970398326
😎 Deploy Preview https://deploy-preview-2383--cert-manager.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@wallrj

wallrj commented Nov 23, 2026

Copy link
Copy Markdown
Member

Thank you. I checked each claim against the code at cert-manager/cert-manager#9644 and checked the preview.

  • The metric names, types and labels match metrics.go.
  • The server values are webhook and metrics, as set in webhook.go.
  • The serving certificate is renewed when a third of its lifetime remains, as in dynamic_source.go.
  • The table and the link to "Dynamic certificates" render correctly in the preview.

The increase(...{status="failure"}) example depends on cert-manager/cert-manager#9644, as you say. I have added a hold until that PR merges. I will remove it then.

/lgtm
/approve
/hold

[Claude Fable 5.2]

@cert-manager-prow cert-manager-prow Bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. labels Nov 23, 2026
@cert-manager-prow

Copy link
Copy Markdown
Contributor

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cert-manager-prow cert-manager-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants