From 4617d16b4b356d926cf82ff7a5134875c3f5f6bd Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Wed, 7 Oct 2020 18:31:46 +0200 Subject: [PATCH] Specify the removal Signed-off-by: Julien Pivotto --- cmd/prometheus/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go index 1dda7b126..165c275f2 100644 --- a/cmd/prometheus/main.go +++ b/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. Introduced due to a regression in Go 2.14. See https://github.com/prometheus/prometheus/issues/7846 for more context. Experimental."). + a.Flag("scrape.adjust-timestamps", "Adjust scrape timestamps by up to 2ms to align them to the intended schedule. See https://github.com/prometheus/prometheus/issues/7846 for more context. Experimental. This flag will be removed in the future."). Hidden().Default("true").BoolVar(&scrape.AlignScrapeTimestamps) a.Flag("alertmanager.notification-queue-capacity", "The capacity of the queue for pending Alertmanager notifications.").