Skip to content
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

Fix certificate controller expiry metrics #2416

Merged
merged 1 commit into from
Dec 10, 2019

Conversation

munnerz
Copy link
Member

@munnerz munnerz commented Nov 29, 2019

What this PR does / why we need it:

In v0.11, we accidentally removed the line of code that recorded the expiry time metric for certificate resources due to the switch over to the new certificate request based implementation. This PR adds it back in.

Which issue this PR fixes: fixes #2266

Release note:

Fix `certmanager_certificate_expiration_timestamp_seconds` metric recording

/kind bug
/area monitoring
/milestone v0.12

Signed-off-by: James Munnelly <james@munnelly.eu>
@jetstack-bot jetstack-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/bug Categorizes issue or PR as related to a bug. labels Nov 29, 2019
@jetstack-bot jetstack-bot added this to the v0.12 milestone Nov 29, 2019
@jetstack-bot jetstack-bot added area/monitoring Indicates a PR or issue relates to monitoring dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. labels Nov 29, 2019
@jetstack-bot jetstack-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Nov 29, 2019
@jetstack-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: munnerz

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jetstack-bot jetstack-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 29, 2019
@JoshVanL
Copy link
Contributor

/lgtm

@jetstack-bot jetstack-bot added the lgtm Indicates that a PR is ready to be merged. label Dec 10, 2019
@jetstack-bot jetstack-bot merged commit 4073080 into cert-manager:master Dec 10, 2019
@jetstack-bot jetstack-bot modified the milestones: v0.12, v0.13 Dec 10, 2019
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. area/monitoring Indicates a PR or issue relates to monitoring dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. 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.

metric "certmanager_certificate_expiration_timestamp_seconds" is not exposed anymore in 0.11
3 participants