prometheus / prometheus/alertmanager

Feature: Exclude existing alerts in group notification

Open
#2,686 4 comments 1 reaction 1 assignee View on GitHub

@SoloJacobs is already working on this.

Since Feb 20, 2026.

Dominant language
Go
Stars
8.6k
Forks
2.5k
Avg merge
2d 6h
Merged PRs (30d)
61

Description

What did you do?
Let's say you got 2 firing alerts in a single group in alertmanager.

[firing]
alertname=ServerOff
server=EUW1
[firing]
alertname=ServerOff
server=EUW2

If now one alert is resolved or added, the alertmanager creates a notification about this change but the notification includes all existing alerts of that group and not only the alerts with state changes.

Perhaps i missed a config value which enables this feature already(?) 🤔

What did you expect to see?
Expected notification content:

[resolved]
alertname=ServerOff
server=EUW2

What did you see instead? Under which circumstances?
Actual notification content when EUW2 gets resolved:

[firing]
alertname=ServerOff
server=EUW1
[resolved]
alertname=ServerOff
server=EUW2

Environment

  • Alertmanager configuration file:
route:
  # Root node as fallback if none child route matches.
  receiver: fallback
  group_by:
  - alertname

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.