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

feat: update prometheus rule to be more flexible #114

Merged
merged 4 commits into from
Aug 6, 2024

Conversation

omohammed95
Copy link
Contributor

@omohammed95 omohammed95 commented Jun 27, 2024

Description of the changes

This PR updates the Prometheus rule for monitoring Argo CD applications' sync status. The current rule checks if there is exactly one application that is out of sync. This update replaces it with a more flexible rule that triggers when there is at least one out-of-sync application, while also ensuring the presence of the namespace label for better context in alerts.

Breaking change

  • No

@omohammed95 omohammed95 requested a review from a team as a code owner June 27, 2024 14:24
@omohammed95 omohammed95 force-pushed the ArgocdNotSynced-Alert branch from 3b089e7 to cd90059 Compare June 27, 2024 14:25
@omohammed95 omohammed95 force-pushed the ArgocdNotSynced-Alert branch from 67ba0a1 to 3e9139b Compare July 24, 2024 14:55
@omohammed95 omohammed95 force-pushed the ArgocdNotSynced-Alert branch from 04de985 to 8c96a8f Compare July 24, 2024 15:04
Copy link
Contributor

@lentidas lentidas left a comment

Choose a reason for hiding this comment

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

I just proposed a small change. Ping me back when you merge the change I proposed and I can approve the PR ;)

@omohammed95 omohammed95 force-pushed the ArgocdNotSynced-Alert branch from d192f6e to 3a4cd4a Compare August 6, 2024 12:13
@omohammed95 omohammed95 merged commit 5f80f8a into main Aug 6, 2024
@omohammed95 omohammed95 deleted the ArgocdNotSynced-Alert branch August 6, 2024 12:46
@github-actions github-actions bot mentioned this pull request Aug 6, 2024
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.

4 participants