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.
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 notificationsHow It Works
Deduplication only applies while an alert is still active. Example:- An alert is received with
dedupKey = checkout-api:high-cpu - A new alert is created
- Another open alert is received with the same
dedupKey - No new alert is created because the first alert is still active
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:
dedupKeycontrols 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:Example:
The configuration of deduplication keys varies by integration.
Some integrations let you define a custom top-leveldedupKey, while others do not support this because the payload format is controlled by the monitoring tool itself.
dedupKey that stays stable for one logical alert stream.
Good examples:
checkout-api:high-cpupayments:database-errorssearch-api:latency-p95team-platform:service-catalog-sync-failed
- a random UUID
- a timestamp
- a full event ID that is unique for every delivery
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
- In Routing, open your Email alert source and select Source details.
- 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. - Click Save changes. If you want each email to create a separate alert, clear the Template field before saving.
{{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.
{{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-leveldedupKey support today:
- HTTP (your own JSON body;
dedupKeyis 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)
- Sentry
- Prometheus
- Grafana
- CloudWatch
- Embrace.io
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
- stable
- human-readable
- scoped to one logical issue
FAQ
Why is my alert not creating a new alert entry?
Why is my alert not creating a new alert entry?
The most common reason is that another active alert already exists with the same
dedupKey.Why did a new alert get created instead of grouping with the previous one?
Why did a new alert get created instead of grouping with the previous one?
Usually this means:
- the
dedupKeychanged - the earlier alert was already resolved or closed
- the provider sent a different payload shape than expected
Can I use the same dedupKey again later?
Can I use the same dedupKey again later?
Yes. After the previous alert is no longer active, the same
dedupKey can be used again for a future alert.Does dedupKey control alert resolution?
Does dedupKey control alert resolution?
No.
dedupKey controls duplicate-open grouping only. Alert lifecycle updates still depend on the provider’s alert identifier.