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

change: drop deprecated metrics #6024

Merged
merged 1 commit into from Oct 19, 2023

Conversation

rexagod
Copy link
Contributor

@rexagod rexagod commented Oct 18, 2023

Description

Remove deprecated metrics entirely, namely:

  • prometheus_operator_rule_validation_triggered_total
  • prometheus_operator_rule_validation_errors_total
  • prometheus_operator_alertmanager_config_validation_triggered_total
  • prometheus_operator_alertmanager_config_validation_errors_total

PTAL https://github.com/prometheus-operator/prometheus-operator/pull/5706/files#r1358257173 for more context.

Type of change

What type of changes does your code introduce to the Prometheus operator? Put an x in the box that apply.

  • CHANGE (fix or feature that would cause existing functionality to not work as expected)
  • FEATURE (non-breaking change which adds functionality)
  • BUGFIX (non-breaking change which fixes an issue)
  • ENHANCEMENT (non-breaking change which improves existing functionality)
  • NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Changelog entry

Please put a one-line changelog entry below. This will be copied to the changelog file during the release process.

The following deprecated metrics will not be registered anymore.

* prometheus_operator_rule_validation_triggered_total
* prometheus_operator_rule_validation_errors_total
* prometheus_operator_alertmanager_config_validation_triggered_total
* prometheus_operator_alertmanager_config_validation_errors_total

Drop deprecated metrics, namely:
* prometheus_operator_rule_validation_triggered_total
* prometheus_operator_rule_validation_errors_total
* prometheus_operator_alertmanager_config_validation_triggered_total
* prometheus_operator_alertmanager_config_validation_errors_total

Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Copy link
Contributor

@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

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

Thanks! I submitted #6016 which is almost 100% identical ;)

@simonpasquier simonpasquier merged commit 9a1d252 into prometheus-operator:main Oct 19, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants