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

Refactor deprecated inhibit rules matchers #1508

Conversation

andrein
Copy link
Contributor

@andrein andrein commented Nov 15, 2021

Description

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
If it fixes a bug or resolves a feature request, be sure to link to that issue.

Refactors alertmanager config to use the new matcher fields.

Type of change

What type of changes does your code introduce to the kube-prometheus? 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. Later this will be copied to the changelog file.

Alertmanager now uses the new `matcher` syntax in the routing tree and inhibition rules.

Copy link
Member

@paulfantom paulfantom left a comment

Choose a reason for hiding this comment

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

lgtm

Let's just mark this as an enhancement in PR description.

@paulfantom
Copy link
Member

paulfantom commented Nov 16, 2021

@andrein
Copy link
Contributor Author

andrein commented Nov 16, 2021

@paulfantom done. feel free to edit the changelog entry, i'm having trouble coming up with one that doesn't sound like replace matchers with matchers.

@andrein andrein force-pushed the alertmanager-deprecated-inhibition-rules branch from 70162b0 to 30175b5 Compare November 16, 2021 12:14
@andrein andrein requested a review from paulfantom November 16, 2021 12:25
@paulfantom paulfantom merged commit b31a075 into prometheus-operator:main Nov 16, 2021
@paulfantom
Copy link
Member

Thank you! 👍

@andrein andrein deleted the alertmanager-deprecated-inhibition-rules branch November 16, 2021 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants