Add tripleaceme/dbt-anomaly-detector#415
Conversation
Lightweight dbt package for data quality anomaly detection using Z-score statistics. Dual detection engines: pure SQL (all warehouses) and Python/pandas (Snowflake, Databricks, BigQuery). GitHub: https://github.com/tripleaceme/dbt-anomaly-detector
|
Hey @tripleaceme, thanks for submitting this! Please fill out the submission checklist in the PR template, and can you confirm that you've been using this in production in your own dbt project for a while already? |
Hey Joel, thanks for the review! I've been running the original version of this package on Snowflake to monitor metric drift across staging and fact models in a couple of projects to track row counts, null rates, and numeric column stats over time. It's helped me catch issues like unexpected null spikes in source data and row count drops after upstream schema changes. The v1.0.0 release extends this with a pure SQL engine for cross-warehouse support (tested on PostgreSQL) alongside the existing Python engine, but the core detection logic and metric capture workflow have been in use for a while. I've updated the PR with the full checklist and all items checked. |
Description
Lightweight dbt package for data quality anomaly detection using Z-score statistics. Features a dual detection engine: pure SQL (works on all warehouses) and Python/pandas (Snowflake, Databricks, BigQuery).
Link to your package's repository: https://github.com/tripleaceme/dbt-anomaly-detector
Checklist
Real world usage
First run experience
Customisability
Packages for data transformation (delete if not relevant):
Not relevant — this is an observability/monitoring package, not a data transformation package.
Dependencies
Dependencies on dbt Core
require-dbt-versionrange indbt_project.yml. ([">=1.6.0", "<2.0.0"])Dependencies on other packages defined in packages.yml:
No external dependencies — the package is fully self-contained.
Interoperability
{{ dbt.type_timestamp() }},{{ dbt.type_string() }},{{ dbt.type_float() }}, and{{ dbt.current_timestamp() }}.detect_anomalies,active_alerts,anomaly_summary; Table:metric_snapshots)Versioning
hubcap/version.py. (Tag:v1.0.0)