Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Metric monitoring

As soon as a data source is connected, the metric monitoring dashboard is available and will have historical information. Soda establishes a statistical baseline for each metric and continually compares new scan results against that baseline, flagging anomalies according to the sensitivity, exclusions, and threshold strategy you’ve configured.

What are Metric Monitors?

Metric monitors are the foundation of data observability in Soda. Monitors track data quality metrics over time and leverage historical values for analysis. Soda automatically collects these metrics and examines how they evolve over time through a proprietary anomaly detection algorithm to identify when metrics deviate from expected patterns and trigger alerts. These deviations are surfaced and recorded in the Metric Monitors tab for each dataset.

Monitors vs metrics: what's the difference?

The main difference between monitors and metrics is that monitors are configurable, while metrics are not.

Monitors build on top of metrics by wrapping their static measurement in a configurable context. Each monitor is customizable, so the user can select scan time, scan frequency, thresholds, and metric to be used.

Metrics, on the other hand, are only a part of the monitor. They are built-in, static definitions of data properties; it is not possible to alter how a metric is computed at its source, but it is possible to select which metric to track through a metric monitor.

Types of monitors

A metric monitor tracks one data quality metric over time. Soda learns a baseline from the metric's history and flags new values that deviate from it.

Soda has four types of metric monitors. They differ in what they measure and how much setup they need.

Monitor
Tracks
Setup
Example

A high-level metric for a whole table or partition

None for metadata-based monitors. Data-based monitors need a time partition column.

Row count drops, schema changes, data stops arriving

A statistical metric for one column

Pick the columns and metrics to monitor

Spike in missing values, shift in an average

A column metric, broken down per category

Pick the metric and the column(s) to group by

Missing values per region

A metric you define with your own SQL query

Write the SQL query. Enterprise only.

A ratio computed across several tables

Start with dataset monitors to cover many datasets with no setup. Add column, Group By, and custom monitors on the datasets and columns that matter most.

All active monitors for a dataset appear on its Metric Monitors tab: dataset monitors at the top, column and Group By monitors at the bottom.

Configure Opt-in Alerts

You can turn any metric monitor into a proactive alert by clicking its bell icon on the Metric Monitors dashboard and selecting Add Notification Rule. This brings up the Add Notification Rule panel:

  1. Name Enter a descriptive title for your rule (e.g. “Row-Count Alerts – Prod Sales”).

  2. Data source Choose the warehouse or connection to scope your rule. Then, search for and check the specific tables (or columns) this rule should cover. The “Matches X datasets” badge updates in real time so you know exactly what you’ll be alerting on.

  3. Applies to Pick which check type you want to alert on.

  4. Recipients Select one or more notification targets:

  • Email addresses

  • Slack channels

  • Other integrations

This dialog lets you reuse a single rule for multiple datasets or checks, ensuring your team only gets the notifications they care about.


You are not logged in to Soda and are viewing the default public documentation. Learn more about Licensing & documentation access.

Last updated

Was this helpful?