elementary icon indicating copy to clipboard operation
elementary copied to clipboard

Threshold-based anomaly alerting

Open milhtp opened this issue 6 months ago • 1 comments

Is your feature request related to a problem? Please describe. In anomaly detection, it would be helpful to have a configuration available where anomaly alerts are only triggered if the metric value exceeds a specific threshold. For example, I might want to detect anomalies in row counts but only alert if the count is over 20 (to reduce noise from small fluctuations in low-volume tables).

Describe the solution you'd like Optional config that allows you to set upper / lower thresholds. When set, values will only be flagged as anomalies when they cross those thresholds within the detection period, AND have a significant anomaly_score.

        data_tests:
          - elementary.column_anomalies:
              upper_anomaly_threshold: 20
              lower_anomaly_threshold: 5

Describe alternatives you've considered where_expression applies to the whole model, not just the detection period

Would you be willing to contribute this feature? No

milhtp avatar Jun 13 '25 13:06 milhtp

This issue is stale because it has been open for too long with no activity. If you would like the issue to remain open, please remove the stale label or leave a comment.

github-actions[bot] avatar Nov 14 '25 02:11 github-actions[bot]

This issue was closed because it has been inactive for too long while being marked as stale. If you would like the issue to reopen, please leave a comment.

github-actions[bot] avatar Dec 14 '25 02:12 github-actions[bot]