Document INFLUXDB_PW env var in username flag

Fixes https://github.com/prometheus/prometheus/issues/1281
This commit is contained in:
Julius Volz 2016-01-04 00:18:41 +01:00
parent 55e85a8c2e
commit 87d1831f12
1 changed files with 1 additions and 1 deletions

View File

@ -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",