Browse Source

Add context

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
pull/7976/head
Julien Pivotto 4 years ago
parent
commit
e2a2bf3c06
  1. 2
      cmd/prometheus/main.go

2
cmd/prometheus/main.go

@ -239,7 +239,7 @@ func main() {
a.Flag("rules.alert.resend-delay", "Minimum amount of time to wait before resending an alert to Alertmanager.").
Default("1m").SetValue(&cfg.resendDelay)
a.Flag("scrape.adjust-timestamps", "Adjust scrape timestamps by up to 2ms to align them to the intended schedule. Experimental.").
a.Flag("scrape.adjust-timestamps", "Adjust scrape timestamps by up to 2ms to align them to the intended schedule. Introduced due to a regression in Go 2.14. See https://github.com/prometheus/prometheus/issues/7846 for more context. Experimental.").
Hidden().Default("true").BoolVar(&scrape.AlignScrapeTimestamps)
a.Flag("alertmanager.notification-queue-capacity", "The capacity of the queue for pending Alertmanager notifications.").

Loading…
Cancel
Save