diff --git a/cmd/prometheus/config.go b/cmd/prometheus/config.go index 27d1268203..9e0f2eca12 100644 --- a/cmd/prometheus/config.go +++ b/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",