Closed ataft closed 2 months ago
Currently, each project must define the on-run-end statement and logic to run only on 'prod', like this:
on-run-end: - "{% if target.name == 'prod' %} {{ dbt_observability.upload_results(results) }} {% endif %}"
We should fix this so projects only need to configure:
on-run-end: "dbt_observability.upload_results(results)"
Then, have a variable like "dbt_observability:target" that we can set to 'prod' or other values (maybe multiple?)
Addressed in #20 with the new "dbt_observability:environments" variable
"dbt_observability:environments"
Currently, each project must define the on-run-end statement and logic to run only on 'prod', like this:
We should fix this so projects only need to configure:
Then, have a variable like "dbt_observability:target" that we can set to 'prod' or other values (maybe multiple?)