<@U08982U8DFF> Is there a way to disable the data_...
# community-support
a
@Elementary Support Is there a way to disable the data_monitoring_metrics functionality in the project yaml or in vars? Getting a database error: Database Error Too many tables, views and user-defined functions for query: Max: 1000 because I've got over 1000 tests and it's trying to insert all the monitoring metrics for those tests at the same time. So I'd like to just disable that so I can still run the 1k tests but avoid the database error.
n
Hey Anna! The Elementary anomaly detection is based on this table, so disabling it would hurt the tests you have. I think the suggestions from Elementary AI about BQ query size and chunks should solve this. Please let me know!
a
could you explain how it impacts the anomaly detection? isn't it just a post hook that updates the monitoring table?
thanks for the quick response!
n
Sure!
data_monitoring_metrics
is the collection of metrics used for anomaly calculation (the calculated results are in
metrics_anomaly_score
). On the post-hook, the new data metrics are calculated and inserted into the table. Afterwards, the anomaly detection tests query
metrics_anomaly_score
. Let me know if this makes sense 🙂
This page may be helpful!