Notification Rules
Notification Rules are a Datadog mechanism for attaching the recipients of monitor notifications afterward, through tag conditions (scope), without writing them in the monitor body. Once defined, the notifications of every monitor that matches the conditions reach the specified recipients.
Overview
Notification Rules are a Datadog setting that checks the tags of a monitor and the tags of the group that fired against conditions (scope), and routes matching notifications to a chosen set of recipients. Instead of writing recipients with @ in the body of each monitor one by one, you can decide them in bulk, such as "all monitors with team:payments go to the payments team's Slack." It is a concept that matters when a change of the responsible team has to be reflected across dozens of monitors, or when you cannot explain where a notification that has both an @ in the body and a rule ends up.
Recipients are attached to tags, not to monitors
Notification Rules are a setting that decides in advance, through tag conditions, where a monitor's notifications are delivered (as of September 2026; Source: Notification Rules). Instead of writing recipients per monitor, if you define a rule once, every notification whose set of attached tags (the notification tagset) matches the scope is automatically delivered to that rule's recipients. Without this, every time the responsible team changes you end up opening dozens of monitors and rewriting the recipients in the body. With a rule, what you change is a single rule. Creating one requires the monitor_config_policy_write permission, and the default limit per organization is 1000 rules. The official documentation explains that monitors created or updated after a rule is saved are routed to the recipients if they match the scope. The @ notation itself that you write in the body is left to the alert entry.
How to write the scope - only keyed tags take effect
In the scope you write the tags a notification must have in order to be routed to this rule. The syntax is the same Boolean logic as event search, and the same notation as searches in other products can be used. However, tags without a key and partial wildcards are not accepted (as of September 2026; Source: Notification Rules).
| Element | Notation | Example |
|---|---|---|
| Boolean operators | AND / OR / NOT (AND when omitted) | service:web-store AND env:prod |
| Wildcard | Only the key:* form | env:* (matches if an env tag is attached with any value) |
| Multiple values for the same key | Group with parentheses or list with OR | env:(prod OR staging) |
| Quoting | Enclose values containing spaces or symbols in quotation marks | team:"data platform" |
| Not usable | Keyless tags / partial wildcards / scopes exceeding 3000 characters | prod and service:web-* are not allowed |
In practice, if you first decide a convention that the tags used in scopes (such as the two tags team and service) must always be attached to monitors, you can get by with a small number of rules. Monitors whose tagging is not aligned keep emitting notifications that no rule picks up.
Recipients decided by hand, and recipients resolved from the team
There are two ways to decide recipients. Manual routing specifies the recipients directly, and you can choose whether to always send to everyone or to make it conditional. The conditions are the monitor's state (Alert, OK, Warn, No data) or a tag value (for example, env:prod), and a tag condition has one key per condition. The recipients are email and the channels of each integration, with an upper limit of 50 recipients per rule (as of September 2026; Source: Notification Rules). Dynamic routing is a method that looks up the responsible team in the Catalog from the monitor's service tag, or uses the team tag directly, and sends to the team's notification destination; a fallback recipient for when resolution fails is required. Destinations support Slack, email, PagerDuty, and Microsoft Teams. As of September 2026 the official documentation labels it Preview, and using it requires a request to Datadog. Paging the person on duty is handled by On-Call.
What happens when a rule overlaps a monitor that has an @ written in it
The combination of the monitor's tags and the tags of the group that fired (in the case of a multi alert) is the notification tagset, and matching is performed against it. If the same key has multiple values, all of them are candidates. A rule matches if at least one combination of a reporting group and the monitor tags satisfies the scope, or if the monitor tags alone satisfy it. Because NOT is evaluated per candidate tagset, a group that has the rejected value does not match. When multiple rules match, the recipients of all the rules are combined, and duplicates are collapsed into one (as of September 2026; Source: Notification Rules).
- The monitor fires a notification
- The monitor's tags and the firing group's tags are combined to form the notification tagset
- It is matched against each rule's scope (NOT is evaluated per candidate tagset)
- The recipients of all matching rules and the recipients written in the body are combined
- Duplicates are removed and the notification is sent
In the matching example in the official documentation, when a rule matches a monitor that has @ recipients in its body, both the recipients in the body and the recipients of the rule appear as destinations. The answer is not "which one takes effect" but "both take effect, and only duplicates are removed."
Find gaps in matching with the Coverage column
Rules are managed on the Notification Rules page under Monitor Settings in Monitors. The list has the columns Name, Scope, Team (only when the scope contains a team tag), Coverage, and Notifies. Coverage is the number of monitors matching that rule's scope; if it is 0, that is the signal to review the scope or the monitors' tags. On an individual monitor, recipients derived from rules appear in the Recipient Summary. The edit screen shows the rules that could match when a new group reports, and the status screen shows the rules currently matching (as of September 2026; Source: Notification Rules). What it suits is per-team routing and consolidating recipient changes. Notification Rules only decide recipients; stopping notifications is the role of downtime. The security products also have a feature with the same name, "notification rules," but it is a separate feature from monitor notification rules.