From 87d1831f1258c168fac449b9f6804e59e2237cb4 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Mon, 4 Jan 2016 00:18:41 +0100 Subject: [PATCH] Document INFLUXDB_PW env var in username flag Fixes https://github.com/prometheus/prometheus/issues/1281 --- cmd/prometheus/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/prometheus/config.go b/cmd/prometheus/config.go index bbe444dea5..31552de7b8 100644 --- a/cmd/prometheus/config.go +++ b/cmd/prometheus/config.go @@ -185,7 +185,7 @@ func init() { ) cfg.fs.StringVar( &cfg.remote.InfluxdbUsername, "storage.remote.influxdb.username", "", - "The username to use when sending samples to InfluxDB.", + "The username to use when sending samples to InfluxDB. The corresponding password must be provided via the INFLUXDB_PW environment variable.", ) cfg.fs.StringVar( &cfg.remote.InfluxdbDatabase, "storage.remote.influxdb.database", "prometheus",