Open naomicarrillo5 opened 7 months ago
Same here. Have the issue with 0.14.1 version as well. As workaround I'm recreating elementary schema:
dbt run -t prod --select elementary --vars '{"elementary_full_refresh": "true"}'
But couple days after it stops working and fails with the same issue.
Any hints about the issue? What could be wrong? It keeps failing each several days.
Hi @naomicarrillo5 @sphinks , Thanks for opening this issue and apologies for the delay.
The issue above seems potentially like a resources issue (likely memory). @sphinks are you also getting the "died with SIGTERM" error? To better understand if this is an issue in Elementary, It would be helpful if you can share details on the setup on which you are running the Elementary CLI:
Thanks, Itamar
@haritamar
Any idea why does new version consumes more memory?
@sphinks - I'm actually not aware of a specific issue with newer versions that would cause this - did you notice it only happened to you in 0.14.1? From which version did you upgrade?
@haritamar i've notice that on 0.14.1. It was updated from 0.13.0.
As in traceback there is a reference to test API and the issue with get_all_test_results_db_rows
I wonder could it be that table layour has changed in new veriosn? Should be drop and recreate tables from the scratch?
Thanks @sphinks . I don't believe this has anything to do with the table schemas - it's likely that the new version consumes more memory than before (which is interesting, we'll keep track of more evidence of this and see if we can reduce the memory footprint)
Did increasing memory work for you though?
We are experiencing this same error at compass digital as of yesterday. @sphinks did you manage to find a solution? We are using elementary 0.15.1 and dbt 1.6.0
@david-beallor @haritamar Raising memory limit helps me. I'm not sure if there is an issue with amount of data we keep in elementary log table or if there are memory leaks in new version Elementary CLI.
Anyway, as additional way to secure I have placed a regular job that is full-refreshing elementary schema. It is not nessesary (new memory limit were able to process 1 month data and do not test deeper), but we not using data more than default 7 days, so regular clean up of data helps to maintain report generation speed and new records insert lag at the same level. I wish I could not just full-refresh tables, but clean old records. It looks like there is no fast solution for doing that, so I just go with full-refresh for now.
Describe the bug I am having trouble generating the observability report using the command
edr report
. I have ensured that the Elementary profile is configured correctly (I am able to run bothedr --help
andedr monitor
successfully) as well as have installed the Elementary CLI (including the command needed for Snowflake specifically).Below is the error message obtained:
I have also tried reinstalling dbt, updating dbt and the relevant plugin dbt-snowflake. I also ensured that the elementary tests are ran before I created the report and that there are results in the table
ELEMENTARY_TEST_RESULTS
. As another note, I am running this on a Github codespace.To Reproduce Run
edr report
Expected behavior Successfully run
edr report
Environment (please complete the following information):