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

[FEATURE REQUEST] Alertmanager receiver for Suppressed Alerts #4120

Open
arctic-sharar opened this issue Nov 14, 2024 · 1 comment
Open

[FEATURE REQUEST] Alertmanager receiver for Suppressed Alerts #4120

arctic-sharar opened this issue Nov 14, 2024 · 1 comment

Comments

@arctic-sharar
Copy link

Problem Statement

Currently, Alertmanager does not expose metrics for silenced alerts, making it difficult to track them without manually navigating to the Alertmanager UI. Also, polling the /silences endpoint to know what alerts are silenced is inconvenient. The issue is better solved upstream on alertmanager side.

Proposed Solution

Add an optional suppressed receiver for an alert matcher: For an alert that matches an alertmanager route and has some sort of suppress configured, Alertmanager will hit the suppressed receiver instead when alert.state is suppressed. Otherwise, no-ops. This implementation is simple as there are existing egress mechanisms doing this for firing state.

Example Scenario

During a planned maintenance window, an alert is silenced. The new egress mechanism will notify a new receiver responsible for handling silences. This is very useful for critical services undergoing maintenance and require silencing to take further actions.

Benefits

  • Automated Notifications
  • Improved Visibility
  • Efficient Monitoring
  • Allows Auditing
@grobinson-grafana
Copy link
Contributor

You can filter suppressed alerts via /api/v2/alerts. Would that be useful? I'm not sure a silenced receiver makes sense.

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

No branches or pull requests

2 participants