Fix regression from #1957, specify non-zero default timeout. (#2121)

Fixes #2075
pull/2132/merge
Brian Brazil 9 years ago committed by GitHub
parent 233a25a060
commit 6bc29ba857
  1. 5
      cmd/prometheus/config.go

@ -213,6 +213,11 @@ func init() {
"The name of the database to use for storing samples in InfluxDB.",
)
cfg.fs.DurationVar(
&cfg.remote.StorageTimeout, "storage.remote.timeout", 30*time.Second,
"The timeout to use when sending samples to the remote storage.",
)
// Alertmanager.
cfg.fs.Var(
&cfg.alertmanagerURLs, "alertmanager.url",

Loading…
Cancel
Save