grafana / grafana/alerting

Enhancement: Split notification per Webhook in multiple calls

Open
#405 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
89
Forks
74
Avg merge
2d 7h
Merged PRs (30d)
8

Description

Hey everybody :)

Right now we're using the Webhook receiver to send alerts to Slack (because the native Slack receiver doesn't support the Slack BlockKit API yet). The problem is: With the new BlockKit API there is a limit of 50 blocks per Webhook call. Depending on your notification template you hit that limit rather fast (for us it's at 11 alerts).

Fortunately the Webhook receiver offers the possibility of capping / truncating the max number of alerts processed. That way we at least don't run into a Slack API error.

Unfortunately the truncated alerts are dropped and not further processed.

So my enhancement proposal would be to put the truncated messaged into a n subsequent webhook calls, so that they're not lost.

What do you think about that?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.