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

rename prometheus-agent inbitions to monitoring agent to be able to take alloy into account #1753

Merged

Conversation

QuentinBisson
Copy link
Contributor

Towards giantswarm/roadmap#3590.

We now use alloy as a monitoring agent so having the inhibition named prometheus-agent makes no sense.

This PR renames both inbititions about missing prometheus agent to monitoring agent.

Checklist

I have:

  • Described why this change is being introduced
  • Separated out refactoring/reformatting in a dedicated PR
  • Updated changelog in CHANGELOG.md

@hervenicol
Copy link
Contributor

This has to be synchronized with a change of labels on prometheus-rules, right?

@hervenicol
Copy link
Contributor

Oh, found the prometheus-rules PR here: giantswarm/prometheus-rules#1405

I wonder what will happen when releasing these, and whether it we need a deployment plan or a phased deployment?

@QuentinBisson
Copy link
Contributor Author

Yes I Linked this PR in the rules. I think the only thing we Can do is merge this and prometheus and sloth rules at the same time

@hervenicol
Copy link
Contributor

Well, we could have a non-breaking phased deployment that would do:

  • add new inhibitions in alertmanager, release PMO with the change
  • change inhibitions in prometheus-rules, release rules
  • remove old inhibitions in alertmanager

This would ensure we don't have a moment with no inhibitions and clusters firing lots of alerts.

@QuentinBisson
Copy link
Contributor Author

Sure. I'll create the pr tomorrow then

@QuentinBisson QuentinBisson force-pushed the rename-prometheus-agent-to-monitoring-agent-inhibition branch from 489ee70 to 2b8389f Compare October 29, 2024 19:15
@QuentinBisson
Copy link
Contributor Author

@hervenicol as requested, I added new inhibitions to have a seamless upgrade

Copy link
Contributor

@QuantumEnigmaa QuantumEnigmaa left a comment

Choose a reason for hiding this comment

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

LGTM

@QuentinBisson QuentinBisson merged commit 4c15b7b into main Oct 30, 2024
5 checks passed
@QuentinBisson QuentinBisson deleted the rename-prometheus-agent-to-monitoring-agent-inhibition branch October 30, 2024 10:09
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.

3 participants