From be32afd6df56029737cfafef82990c0cbca712ab Mon Sep 17 00:00:00 2001 From: Fabian Reinartz Date: Thu, 22 Jun 2017 15:02:10 +0200 Subject: [PATCH] cmd/prometheus: add back tsdb.no-lockfile flag --- cmd/prometheus/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go index 59065f561..4b033a1f9 100644 --- a/cmd/prometheus/main.go +++ b/cmd/prometheus/main.go @@ -146,6 +146,9 @@ func main() { a.Flag("storage.tsdb.retention", "How long to retain samples in the storage."). Default("15d").SetValue(&cfg.tsdb.Retention) + a.Flag("storage.tsdb.no-lockfile", "Do not create lockfile in data directory."). + Default("false").BoolVar(&cfg.tsdb.NoLockfile) + a.Flag("alertmanager.notification-queue-capacity", "The capacity of the queue for pending alert manager notifications."). Default("10000").IntVar(&cfg.notifier.QueueCapacity)