On 18 Jul 18:37, Christian Hoffmann wrote:
> Hi,
> 
> On 7/17/20 5:26 AM, long wrote:
> > When I set up group_by in alertmanager.yml, I have an alert manager with
> > 25 alerts, but it will be split into 3 messages each with a maximum of
> > 10 alerts. How do I set the maximum number of alerts in 1 message?
> 
> I haven't heard of an alertmanager-side limitation. Could it be that
> this is done on your msteams integration side?

What you can do is set a max_alerts:

The maximum number of alerts to include in a single webhook message.
Alerts above this threshold are truncated.
https://prometheus.io/docs/alerting/latest/configuration/#webhook_config

But then the other alerts won't be sent, they will be dropped of the
webhook.


> 
> Kind regards,
> Christian
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/prometheus-users/85338988-3d21-fb79-4c8c-d1e210b357b6%40hoffmann-christian.info.

-- 
Julien Pivotto
@roidelapluie

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/20200718164611.GA639881%40oxygen.

Reply via email to