Hi everyone :slightly_smiling_face: I'm trying to ...
# community-support
h
Hi everyone 🙂 I'm trying to figure out if it's possible to include dynamic field information in Elementary alerts for my tracking data. For example, if a
not_null
test fails, I'd like the alert description to include the specific
screen_name
where the failure occurred. From what I’ve seen in the documentation, it looks like alerts are only available at the test level — not with row-level context. Does anyone know if this kind of customisation is possible? Thanks!
g
Hi @Harriet Parr-Burman, The alert should include sample rows that failed the tests. To enable this, please make sure the following flag is set in your `dbt_project.yml`:
flags:
require_explicit_package_overrides_for_builtin_materializations: False
If it's not already there, please add it. This allows Elementary to override the test materialization, store the failing rows, and eventually display them in the alert message.
h
Thanks @Guy Eshdat, that's awesome! I'll give this a bash 😄🙏
🔥 1