<@U088WCP3B4P> I have a send-report cli command w...
# ask-elementary-ai
o
@kapa.ai I have a send-report cli command with this configuration --days-back "30" and while i see in the report that it says 30 days back, the main page shows the number of tests for the last run, same as the slack message that preceeds the html report.
k
A message from kapa.ai
Based on the knowledge sources, this behavior is expected. The
--days-back
parameter affects how much historical data is included in the report, but it doesn't change what's shown in the main page summary or Slack notifications. When you run
edr send-report --days-back 30
, the report will include test data from the past 30 days, which you can see in the detailed sections of the report. However, the main page of the report and Slack notifications will still show the most recent test results. This is consistent with how several users have experienced the tool: 1. One user had to place the
--days-back
parameter after the
send-report
command rather than between
monitor
and
send-report
to get it to work properly [Link to Slack conversation](https://slack.com/archives/C02CTC89LAX/p1674155311053909). 2. Another user confirmed that when using the correct parameter placement, they could see "Last 30 Days" in the upper right corner of the report [Link to Slack conversation](https://slack.com/archives/C02CTC89LAX/p1674155311053909). If you're not seeing "Last 30 Days" in the upper right corner of your report, you might want to check the placement of your
--days-back
parameter in your command. Make sure it's placed after the
send-report
command, like this:
Copy code
edr monitor send-report --days-back 30
Instead of:
Copy code
edr monitor --days-back 30 send-report
n
Hey @Ondra Paul, what CLI version are you using? This shouldn't happen, reproduced it in our sandbox and I get results from previous runs. Also, can you try removing the "" over the numbers?
o
I'm using 0.16.2 (databricks). I was looking into it and maybe I just didn't understand it. I though the main overview (red marked squares in screenshot) would show the total of tests that were run in that selected period (30 days) - 82 tests is the total number of tests in my project, but i thought it would show (82*number of days with breakdown of successful/warn/error). When go i into tests and click on one, then i see the history (see screenshot 2)
n
Interesting, correct me if I misunderstood - we reflect the amount of configured tests in the project. There's no place in the report where we show the number of test runs. 🙂
✅ 1
@Ondra Paul may I ask you for the dbt, Databricks adapter and Elementary versions you're using? We see other users experiencing sudden issues with Databricks, so if everything's working for you it can help us find the root cause 🙌 Thanks in advance!
o
dbt-core 1.9.1 same for databricks adapter
and
elementary-data 0.16.2
and dbt elementary package is
version: 0.16.4
Interesting, correct me if I misunderstood - we reflect the amount of configured tests in the project. There's no place in the report where we show the number of test runs
Ah that is what i came to understand later. It was just confusing to me, why i then select that last 30 days when the main overview shows number of configured test and success/warn/error from the latest run.
🙏 1