Skip to content

How the Rules Engine works

The right signal, to the right destination, at the right time. The Rules Engine is the part of Monitorial Pulse that decides who hears about what. Monitors find problems; rules route them. A failed pipeline can go to the data engineers’ Slack channel with diagnostic SQL, while the same alert reaches leadership’s inbox as a two-sentence business summary.

One signal, multiple audiences.

A rule listens to one event source, checks each event against its filters and sends matching events to one or more destinations.

Part What it decides Detail
Source Which kind of event the rule listens to: Monitor, SEND_NOTIFICATION calls, Omnata, Webhook, Notification Integration or Trust Center. Create a rule
Filters Which events match: severity, pillar, environment, object, tags and more. Filters
Destinations Where matching events go: Slack, Microsoft Teams, email, tickets, webhooks and others. Destinations
Suppression When and how often the rule fires (Premium). Fire conditions and suppression
Response Whether someone must acknowledge the alert or track an action. Acknowledge, escalate and resolve

Each destination can also have a persona, so the message is rewritten for the people who read that channel. See Personas.

  1. A monitor, connector, webhook, security scan or your own SQL produces an event.
  2. Pulse checks the event against every enabled rule for that source.
  3. Each matching rule adds its destinations to the send list. If several rules send to the same destination, that destination receives the event once.
  4. Pulse shapes the message for each destination’s persona and sends it.
  5. Every send, skip and failure is recorded on History » Notifications.

An event that matches no rule is recorded, but not sent anywhere. Rules are what make an alert reach a person, so add at least one rule after installing your first monitors.

For each rule, the event goes through these checks. The fire condition and repeat limit are Premium; see Fire conditions and suppression.

How a rule decides whether to send an eventAn event that doesn't match the rule's filters isn't sent by that rule. On Essentials, a matching event is sent straight away. On Premium, a Resolved notice is sent only if the rule notified about that run, and is never held back by the repeat limit. Any other matching event is counted, but not sent, until the fire condition is reached, and is held back as Suppressed while it is inside the repeat limit. A sent event goes once to each destination.An event from the rule's sourceMatches the rule's filters?Not sent by thisruleWhich plan?Sent straight awayOnce to each destinationA Resolved notice?Did the rule notify about thatrun?Not sentFire condition reached?Counted, not sentInside the repeat limit?Held back:SuppressedListed on History »NotificationsSent, once to eachdestinationNoYesEssentialsPremiumYesNoNoNot yetYesYesNoYes

A Resolved notice is never held back by the repeat limit.

Pulse protects your channels from floods and protects itself from destinations that are down. Both are always on.

Protection What it does
Rate limit A destination receives at most one message from the same monitor in any 60 seconds. Further sends in that minute are not delivered and are recorded with the status Failed and the reason rate limited.
Circuit breaker After 5 failed sends in a row to the same destination, Pulse pauses that destination for 32 minutes. When the pause ends, Pulse tries again. If that attempt fails, the pause is 64 minutes. One successful send resets the count. Events during a pause are recorded as Failed and are not resent later.

Use repeat suppression to control how often people hear about the same problem. The rate limit is only a safety net.

The number of rules is unlimited on both plans.

Capability Essentials Premium
Event sources Monitor and SEND_NOTIFICATION calls, plus Omnata when installed All sources, adding Webhook, Notification Integration and Trust Center
Filters Severity only (Omnata: health state, hook type, plugin, sync and schema change) Every filter
Fire conditions and repeat suppression Not available; rules fire on every match Available
Destinations that receive messages Slack, Microsoft Teams and email Every destination type
Personas Available Available

Premium is a daily charge, billed through Snowflake Marketplace; see the listing for the current price. Essentials is Free. See Plans, trial and billing.

Open Monitoring » Rules, headed Notification rules, to see every rule with its source, what it matches, where it sends, when it last matched and an On switch. Search by name, or filter by destination, severity or status. Select a rule to see everything it does in a side panel, and Edit to change it.

To stop a rule for now, turn off its On switch. To remove it for good, delete it; the notifications it matched stay in the history. See Create a rule. Only administrators (MONITORIAL_ADMINISTRATOR) can open the Rules page.