Skip to main content
Alert deduplication prevents the same active alert from being created over and over again. Deduplication happens when an alert is received — before it’s enriched and escalated. To configure that part of the journey, see Routing. When we receive an alert payload, we look at its dedupKey.
  • If another active alert already exists with the same dedupKey, we treat the new alert as a duplicate of that active alert.
  • If no active alert exists with that dedupKey, we create a new alert.
In practice, this means repeated open / acknowledged notifications for the same issue are grouped together instead of creating multiple separate alerts.
Note that acknowledged alert will still group alerts with the same dedupKey and will not fire new notifications

How It Works

Deduplication only applies while an alert is still active. Example:
  1. An alert is received with dedupKey = checkout-api:high-cpu
  2. A new alert is created
  3. Another open alert is received with the same dedupKey
  4. No new alert is created because the first alert is still active
Once the original alert is resolved or closed, the same dedupKey can be used again for a future alert. Each repeat is recorded on the original alert’s timeline. When the alert is triggered again two or more times in a row, the timeline shows those repeats as one entry with a count and time range, for example “Alert was triggered again 40 times, 10:00 AM – 10:05 AM”. Repeats within the same minute show a single time instead of a range.

dedupKey vs Alert Lifecycle

dedupKey is used for grouping repeated open alerts. It is not the same thing as the provider’s lifecycle identifier. That means:
  • dedupKey controls whether repeated open alerts are grouped together
  • the provider’s alert identifier still controls acknowledgement, resolution, and other lifecycle updates. For the HTTP source that identifier is externalId; see HTTP alert source

How To Define Your Own dedupKey

If your alert source supports custom webhook payloads, you can send a top-level field named dedupKey.
Important:
The configuration of deduplication keys varies by integration.
Some integrations let you define a custom top-level dedupKey, while others do not support this because the payload format is controlled by the monitoring tool itself.
Example:
Use a dedupKey that stays stable for one logical alert stream. Good examples:
  • checkout-api:high-cpu
  • payments:database-errors
  • search-api:latency-p95
  • team-platform:service-catalog-sync-failed
Avoid values that change every time an alert is sent. Bad examples:
  • a random UUID
  • a timestamp
  • a full event ID that is unique for every delivery
If the dedupKey changes on every alert, deduplication will not group them together.

When You Should Customize dedupKey

Customizing dedupKey is useful when:
  • your monitoring tool sends repeated notifications for the same ongoing problem
  • you want several alert events to be treated as one logical active alert
  • the provider’s default deduplication behavior is too broad or too narrow for your workflow

Parameterized Deduplication

Use a deduplication template to choose which parts of an incoming alert identify the same issue. Parameterized deduplication is currently available only for Email alert sources. More source types will be supported in the future. Each supported source type has its own set of variables, shown under Available variables in the source settings.

Configure an Email source

  1. In Routing, open your Email alert source and select Source details.
  2. Under Deduplication, edit the Template. Keep {{subject}} to group by subject, or combine variables and plain text. Click a variable under Available variables to insert it.
  3. Click Save changes. If you want each email to create a separate alert, clear the Template field before saving.
Email supports these variables:
  • {{subject}} uses the email subject, with capitalization preserved. This is the default template.
  • {{sender}} uses the sender’s email address in lowercase.
  • {{body}} uses the email body. Use it when the body is stable across repeats.
For example, {{sender}} / {{subject}} groups repeated emails with the same sender and subject while an alert from that source is open or acknowledged. Two email sources can send alerts to the same route and still produce separate alerts for the same key. Templates can be up to 500 characters. Missing variables contribute empty text. If the resulting key is empty, Vibe creates a separate alert. If the key is longer than 500 characters, Vibe compares only the first 500.

Provider Support

Providers with custom top-level dedupKey support today:
  • HTTP (your own JSON body; dedupKey is required)
  • Datadog
  • New Relic
  • Opsgenie
  • Coralogix
  • AWS SNS (only when the message has a title; any other message is never grouped, each one is its own alert)
Providers that currently use provider-native deduplication behavior:
  • Sentry
  • Prometheus
  • Grafana
  • CloudWatch
  • Email
  • Embrace.io
Providers in this group use their default deduplication keys. Email also supports a deduplication template configured on the alert source, as described above. In other words, deduplication behavior is available across integrations, but the amount of control you have over the deduplication key depends on what that integration allows. The exact key each source uses is listed on Alert sources.

Choosing a Good dedupKey

A good dedupKey should answer this question:
“Which repeated alerts should count as the same active problem?”
In most cases, the best dedupKey is based on a stable combination such as:
  • service + alert name
  • monitor ID
  • team + alert rule
  • system + symptom
Try to keep it:
  • stable
  • human-readable
  • scoped to one logical issue

FAQ

The most common reason is that another active alert already exists with the same dedupKey.
Usually this means:
  • the dedupKey changed
  • the earlier alert was already resolved or closed
  • the provider sent a different payload shape than expected
Yes. After the previous alert is no longer active, the same dedupKey can be used again for a future alert.
No. dedupKey controls duplicate-open grouping only. Alert lifecycle updates still depend on the provider’s alert identifier.