Hey there is it possible to disable this alert? ``...
# community-support
j
Hey there is it possible to disable this alert?
Copy code
10:12:12  Couldn't find Elementary's models in `dev_catalog.dev_schema`. Please run `dbt run -s elementary --target dev`.
We don't run elementary in dev intentionally so don't want to confuse the users
m
Hey @Josh Elston-Green, If Elementary is disabled for dev you shouldn't get this message. Maybe I'm jumping to conclusions here, but based on your message in this thread : • You disabled elementary hooks using vars • Elementary tests (anomaly detection specifically) are still running in dev The issue is the anomaly detection tests need to insert metrics to
data_monitoring_metrics
to work. If you want the Elementary tests to work in dev - you will need to create the table. If you want the Elementary tests to also be disabled in dev, you should disable the entire package, like this:
Copy code
models:
  elementary:
    enabled: "{{ (target.name in ['prod','circleci_prod']) | as_bool }}"
Should also solve the issue in the other thread (the INSERT queries to
data_monitoring_metrics
)
j
Thanks @Maayan Salom - we want to disable the whole package in this case - thanks for your help!