Skip to main content

Create a notification rule for freshness and row count anomalies

Matia can automatically create freshness and row count monitors for tables in schemas you enable. When those monitors detect anomalies (e.g. a table not updated as expected or an unusual change in row count), you can get notified by defining a notification rule. This guide walks through creating a rule that notifies on freshness and row count issues.

For enabling the monitors themselves, see Enable schemas for auto-generated monitors. For connecting Slack, webhooks, or PagerDuty, see Notification integrations.

Prerequisites

  • At least one notification integration connected (e.g. Slack, webhook, PagerDuty).
  • (Optional) Schemas enabled for auto-generated monitors so freshness and row count monitors exist; notification rules can still be created and will apply when those monitors are added later.

Steps

  1. Go to Settings in the main sidebar and open the Notifications page.
  2. Click New Notification Rule (top right).
  3. Select recipient channels — choose one or more notification channels (Slack, webhook, PagerDuty, etc.) that you have already connected. These channels will receive alerts when the rule matches.
  4. Choose issue types — select the types of issues that should trigger a notification. Include:
    • Freshness — alerts when a freshness monitor detects that a table has not been updated as expected.
    • Row count — alerts when a row count monitor detects an anomalous change (e.g. sudden drop or spike). You can also include other issue types (e.g. schema changes, custom monitor alerts) in the same rule if desired.
  5. Set scope — choose whether the rule applies to all assets or only to a specific subset (e.g. certain schemas or tables).
  6. Click Save to activate the rule.

Once saved, whenever a freshness or row count monitor (or any other selected issue type) triggers an issue that matches the rule’s scope, Matia will send a notification to the selected channels. You can edit or disable the rule later from the same Notifications page.

For more on notification rules and other notification types, see Notifications.

ON THIS PAGE

Need Help?

Get help and support on all things Matia.

Contact Us