elementary-data / elementary

The dbt-native data observability solution for data & analytics engineers. Monitor your data pipelines in minutes. Available as self-hosted or cloud service with premium features.
https://www.elementary-data.com/
Apache License 2.0
1.89k stars 159 forks source link

Alerts[Teams] - test_results_sample doesn't output anything #1692

Open christopherekfeldt opened 2 weeks ago

christopherekfeldt commented 2 weeks ago

Describe the bug Since the launch of Elementary alerting for Teams we have been using it, I've added different alert_fields and config for different tests. Now after the upgrade to dbt 1.8 and latest elementary version, the alerts test_result_sample stopped to reveal. We use it both to visualize and show model cost spikes and our longest running models this way. We have limit the output to 5 rows since that is the maximum of test_results_sample. But now it doesn't appear at all.

Expected behavior I expect the test_results_sample to output the 5 samples in the result if an alert appears.

Screenshots image image

Environment (please complete the following information):

Additional context My first initial thought was that this could be connected to that dbt changed from tests -> data_tests in dbt 1.8, which may cause the issue of the config not attaching. But I'm not sure..

Would you be willing to contribute a fix for this issue? No, thanks!

timhiebenthal commented 5 days ago

same issues, elementary-dbt: 0.16.0 elementary-python: 0.16.1 dbt core: 1.8.6 dbt-bigquery: 1.8.0 BigQuery as database Slack as messenger

the elementary_test_results model has an empty field result_rows in case that helps. so I bet the issue is rather on the dbt-package side of things