Hi Is there a way to slack alerts for warnings? We...
# community-support
a
Hi Is there a way to slack alerts for warnings? We have most of our dbt-tests as warnings to avoid stopping the pipeline. But would still like to know when warnings happen
✅ 1
👀 1
a
Hey @Aditya Vishwakarma, Both errors and warnings alerts are sent.
Are you not receiving the warning alerts?
a
getting alerts on errors only. Any way to debug?
e
Hi there @Aditya Vishwakarma! Do you by chance have one of the following vars enabled? You can explicitly run the monitor with a filter to select warnings only, see here (statuses filter tab). If that doesn't help, you can also have a look at the
edr.log
file (or attach it here).
a
hi, so we investigated what was going. Found out that the issue was caused by us declaring this in our project.yml file:
Copy code
models:
   +materialized: table
This caused all elementary models to be materialized as tables. specifically
elementary.alerts_dbt_tests
was created as a table. This table wasn't being refreshed during
dbt test
. Hence when running
task edr-monitor
was run, it didn't send any alert as the table was empty Removing this line and recreating elementary schema solved the issue for us
🙏 1