hi <@U088WCP3B4P>, I set up a slack alert integrat...
# ask-elementary-ai
a
hi @kapa.ai, I set up a slack alert integration, tested it and it worked fine. However, trying to run it again results in nothing being sent to slack. It says something about skipped alerts. Whats happening?
INFO:elementary.monitor.fetchers.alerts.alerts:Update skipped alerts
k
A message from kapa.ai
What you're experiencing is expected behavior in Elementary. After an alert is sent once (for example, after a failed test and running
edr monitor
), Elementary marks that alert as "sent" in its internal tables. If you run
edr monitor
again without any new test failures or changes, the same alert will not be sent again to avoid spamming your Slack channel. Instead, you'll see log messages like
Update skipped alerts
, which simply means there are no new alerts to send—any previously sent alerts are being skipped intentionally. This mechanism ensures that each alert is only sent once per issue, unless a new failure or event occurs. If you want to receive alerts again, you need to trigger new test failures or other alert-worthy events in your dbt runs before running
edr monitor
again. For more details, see the explanations from the Elementary team in the community forums: [Slack alert only sent once](https://slack.com/archives/C02CTC89LAX/p1691482831550239), [Why alerts are skipped](https://slack.com/archives/C02CTC89LAX/p1696945250119199), and [No new alerts after initial run](https://slack.com/archives/C02CTC89LAX/p1684524581057829).
a
@kapa.ai what does --group-alerts-threshold mean? Can you give an example?
k
A message from kapa.ai
The
--group-alerts-threshold
flag in Elementary controls how many alerts must be generated before they are grouped into a single summary alert, rather than sending each alert individually. This helps reduce noise in your Slack (or other) channels by batching alerts when there are many at once. Example: If you run:
Copy code
edr monitor --group-alerts-threshold 5
Elementary will only group alerts into a single message if there are 5 or more alerts to send. If there are fewer than 5, each alert will be sent as an individual message. If you want to avoid grouping entirely and receive every alert separately, you can set a very high threshold or avoid using this flag. This feature is useful for managing alert volume, especially during large test runs or when many issues occur at once. By default, there is a threshold of 20 alerts for grouping, but you can configure it to your needs with this flag [see documentation](https://docs.elementary-data.com/oss/guides/alerts/alerts-configuration#alerts-cli-flags) and [Slack discussion](https://slack.com/archives/C02CTC89LAX/p1741623108619459).