Skip to main content
The elementary.dimension_anomalies test counts rows grouped by given dimensions (columns/expressions). It monitors the frequency of values in the configured dimension over time and alerts on unexpected changes in the distribution. This test is best configured on low-cardinality fields.

How it works

  • If timestamp_column is configured, the distribution is collected per time_bucket.
    • If not, it counts the total rows per dimension.
  • The test alerts on unexpected changes in the distribution of dimension values over time.

Test configuration

Important Notes
  • Required configuration: dimensions
  • The test is best suited for low-cardinality fields.
  • If timestamp_column is not configured, the test will monitor without time filtering.
  • Tags can be used to run elementary tests on a dedicated run.
  • Severity can be optionally changed in the config section.
  • The where_expression can be used to refine the scope of dimension monitoring.