I'm trying to understand how the grouping of alarms works. 

The alertmanager is configured as follows:

```
---
route:
group_by:
- alertname
group_interval: 10s
group_wait: 10s
receiver: opsgenie
repeat_interval: 1m
routes:
- receiver: opsgenie
receivers:
- name: opsgenie
opsgenie_configs:
- api_key: '***'
api_url: '***'
description: 'Alert: {{ range .Alerts}} {{ .Labels.instance }}, {{ end }}'
message: 'Alert'
send_resolved: true
```

What is the difference between group_wait and repeat_interval.

Let's assume:

alert 1:
  alertname: alert1
  label_1: abc

alert 2:
  alertname: alert1
  label: def

If alert 1 and alert 2 occur simultaneously or in a very short time, then 
only one alert should be sent out. If alert 2 only occurs after some time, 
then another alert should be sent. The latter does not work. If alert 2 
occurs, nothing happens.

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/ad4e5c88-6e34-444f-8070-7468b103191en%40googlegroups.com.

Reply via email to