Skip to content

Commit 339b429

Browse files
authored
Use a non-zero duration for group_interval (#12)
Alertmanager rejects zero: <https://github.com/prometheus/alertmanager/blob/v0.24.0/config/config.go#L786>
1 parent be9e760 commit 339b429

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,10 @@ route:
142142
- match:
143143
severity: heartbeat
144144
receiver: prommsd
145-
# Always set group_interval to 0s, prommsd does its own grouping.
146-
group_interval: 0s
145+
# Always set group_interval to a very short non-zero
146+
# duration: prommsd does its own grouping and alertmanager
147+
# requires non-zero.
148+
group_interval: 1s
147149
repeat_interval: 1m
148150
```
149151

0 commit comments

Comments
 (0)