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

Add an option to send certificate duration #9067

Merged
merged 5 commits into from
Apr 5, 2021

Conversation

lindleywhite
Copy link
Contributor

What does this PR do?

This adds a boolean to the TLS integration to send certificates duration as a metric.

Motivation

In order to successfully monitor certificates expiration it is helpful to compare the certificates expiration in days/seconds against the actual length of time the certificate is issued for. This would allow for percentage based monitoring rather than time based ones.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • PR title must be written as a CHANGELOG entry (see why)
  • Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
  • PR must have changelog/ and integration/ labels attached

@lindleywhite lindleywhite requested a review from a team as a code owner March 31, 2021 20:02
@lindleywhite lindleywhite requested a review from a team as a code owner March 31, 2021 20:11
Copy link
Contributor

@ofek ofek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks awesome, thanks!

tls/assets/configuration/spec.yaml Outdated Show resolved Hide resolved
tls/datadog_checks/tls/data/conf.yaml.example Outdated Show resolved Hide resolved
Co-authored-by: Ofek Lev <ofekmeister@gmail.com>
@ofek ofek merged commit 1b188cd into DataDog:master Apr 5, 2021
@ofek ofek changed the title Add a boolean to send certificate duration Add an option to send certificate duration Apr 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants