Anna Nguyen
05/12/2025, 9:48 AMkapa.ai
05/12/2025, 9:48 AMkapa.ai
05/12/2025, 9:49 AMdata_monitoring_metrics table) by setting the following variable in your `dbt_project.yml`: yaml vars: collect_metrics: false This will prevent Elementary from running the extra queries that populate data_monitoring_metrics, which should help you avoid the database error related to too many concurrent inserts or table/view limits. Disabling this will not impact your ability to run dbt tests, but you will lose the anomaly detection and historical metric tracking features that rely on this table. If your goal is to just run the tests and not collect metrics, this is a safe approach to take [Disable metric calculation](https://slack.com/archives/C02CTC89LAX/p1699602091358719) [Duplicate row_count metric](https://slack.com/archives/C02CTC89LAX/p1704884803109289). If you are running anomaly tests, be aware that they depend on the metrics stored in data_monitoring_metrics. If you disable metrics collection, anomaly detection will not function as intended [Disable metrics for performance](https://slack.com/archives/C02CTC89LAX/p1693398462923139). If you only want to run dbt tests and not use anomaly detection or metrics, setting collect_metrics: false is the recommended solution.Anna Nguyen
05/12/2025, 9:51 AMAnna Nguyen
05/12/2025, 10:05 AMNiteesh Kanungo
06/10/2025, 6:50 PM