hi all - my teammate <@U094AC12TEV> and I are stuc...
# community-support
i
hi all - my teammate @Reta Gasser and I are stuck on a question regarding generating a Slack report specific to a tag. as far as we can ascertain that's an option on Elementary >=
0.19.0
but after bumping up the semantic version of the CLI we're still unable to produce a report https://elementary-community.slack.com/archives/C08HW57FGN9/p1752512192022399
n
Hey @Ian Ferguson! Reports can be filtered by invocations.
edr monitor
can be filtered by tag as well 🙂
i
ok got it, so we're conflating those two commands? we should be using
edr monitor
(and the relevant command line args) to generate the slack alert?
hi @Noya Offer - I'm curious, is there a way to send a Slack message regardless of whether there are warnings / failures or not? we're filtering down to a tag successfully, but it's only firing a message off when there are warnings, which is behavior we'd like to be able to control
n
Hey @Ian Ferguson! Can you please explain what kinds of messages you'd expect when there are no warnings or failures? 🙂
i
I think we were hoping that it would produce a "summary" Slack message (like we see when running
edr send-report
) but unless I'm missing it it doesn't seem like that's possible
the
edr monitor
seems to be sending one message per test warning/failure which is cool but probably not what we're looking for
n
I see, and just to make sure, why don't you want to use
edr send-report
?
i
well because we want to filter on a specific tag - obviously we want the report to represent our entire project, but we're hoping to generate a similar slack message to the one above for a handful of tags. based on my understanding the
edr send-report
command can only filter on invocations (not tags) in case the context is useful, our data engineering and analytics engineering teams are both developing in the same project, the AE team is tagging certain models that they're interested in getting alerts for
n
Thanks for the context! Let me check this
Apologize for the confusion earlier in the thread - I referred to the
edr report
command that can't be filtered by tags. You can use tags to filter the report summary:
edr send-report --select tag:finance
💪
i
hmm, I think if you look at command in the original Slack message that my colleague Reta shared she was running
edr send-report tag:sae-syncouts
and it was raising the invalid selector exception
n
Check our the filter I used - with
--select
first 🙂 Can you check if this works for you?
i
right, that's a typo on my part this IS what Reta submitted initially
n
Interesting, I confirmed it in my own project. This is Elementary CLI 0.19.0?
i
it is for
0.19.0
that's right. I can try and run it again later today
🙌 1