Hey Team! we have disabled on-run-end hooks due to...
# community-support
b
Hey Team! we have disabled on-run-end hooks due to prod issue, now when we try to do
dbt test
and execute
edr report
the report seems to be empty.
a
That is correct. Without the hooks, the tests metadata are not uploaded and therefore the report is empty. That said, could you please share extracts of your dbt_project.yml file where you configure elementary? What issues made you disable the hooks?
b
Copy code
vars:
  disable_dbt_artifacts_autoupload: true
  disable_run_results: true
  disable_tests_results: true
  disable_dbt_invocation_autoupload: "{{ target.name != 'airflow_prod' }}"
This was the dbt_project.yml file which we configured to stop run end hooks, however, can we just have the following in order to get test results even with on run end hook not runnin?
Copy code
vars:
  disable_dbt_artifacts_autoupload: true
We disabled hooks because it was accessing prod data in dev which was causing privileges issue.
a
Hello @Bharath Chinthapanti with all the hooks disabled, the artifacts are not uploaded to the warehouse and therefore elementary dashboard is empty.
elementary CLI (edr) access data based on the profile configuration passed to the cli
So the issue you mention is probably due to a misconfiguration
Have a look here and here for more info. You probably need several targets in your elementary profile and select the right combination when executing edr using the following variables -t, --profile-target <target_name> --project-profile-target <target_name>