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)