mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -08:00
cmd/prometheus: add back tsdb.no-lockfile flag
This commit is contained in:
parent
70f96b0ffb
commit
be32afd6df
|
@ -146,6 +146,9 @@ func main() {
|
||||||
a.Flag("storage.tsdb.retention", "How long to retain samples in the storage.").
|
a.Flag("storage.tsdb.retention", "How long to retain samples in the storage.").
|
||||||
Default("15d").SetValue(&cfg.tsdb.Retention)
|
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.").
|
a.Flag("alertmanager.notification-queue-capacity", "The capacity of the queue for pending alert manager notifications.").
|
||||||
Default("10000").IntVar(&cfg.notifier.QueueCapacity)
|
Default("10000").IntVar(&cfg.notifier.QueueCapacity)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue