You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename silence limit to max-silence-size-bytes (prometheus#3886)
* Rename silence limit to max-silence-size-bytes
This commit renames an existing (unreleased) limit from
max-per-silence-bytes to max-silence-size-bytes.
Signed-off-by: George Robinson <[email protected]>
* Update help
Signed-off-by: George Robinson <[email protected]>
---------
Signed-off-by: George Robinson <[email protected]>
Copy file name to clipboardExpand all lines: cmd/alertmanager/main.go
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,7 @@ func run() int {
147
147
retention=kingpin.Flag("data.retention", "How long to keep data for.").Default("120h").Duration()
148
148
maintenanceInterval=kingpin.Flag("data.maintenance-interval", "Interval between garbage collection and snapshotting to disk of the silences and the notification logs.").Default("15m").Duration()
149
149
maxSilences=kingpin.Flag("silences.max-silences", "Maximum number of silences, including expired silences. If negative or zero, no limit is set.").Default("0").Int()
150
-
maxPerSilenceBytes=kingpin.Flag("silences.max-per-silence-bytes", "Maximum per silence size in bytes. If negative or zero, no limit is set.").Default("0").Int()
150
+
maxSilenceSizeBytes=kingpin.Flag("silences.max-silence-size-bytes", "Maximum silence size in bytes. If negative or zero, no limit is set.").Default("0").Int()
151
151
alertGCInterval=kingpin.Flag("alerts.gc-interval", "Interval between alert GC.").Default("30m").Duration()
0 commit comments