a.Flag("rules.alert.for-grace-period","Minimum duration between alert and restored 'for' state. This is maintained only for alerts with configured 'for' time greater than grace period.").
a.Flag("rules.alert.for-grace-period","Minimum duration between alert and restored 'for' state. This is maintained only for alerts with configured 'for' time greater than grace period.").
Default("10m").SetValue(&cfg.forGracePeriod)
Default("10m").SetValue(&cfg.forGracePeriod)
a.Flag("rules.alert.resend-delay","Minimum amount of time to wait before resending an alert to Alertmanager. Must be lower than resolve_timeout in Alertmanager").
a.Flag("rules.alert.resend-delay","Minimum amount of time to wait before resending an alert to Alertmanager.").
Default("1m").SetValue(&cfg.resendDelay)
Default("1m").SetValue(&cfg.resendDelay)
a.Flag("alertmanager.notification-queue-capacity","The capacity of the queue for pending Alertmanager notifications.").
a.Flag("alertmanager.notification-queue-capacity","The capacity of the queue for pending Alertmanager notifications.").