Merge pull request #1282 from prometheus/document-idb-pw

Document INFLUXDB_PW env var in username flag
This commit is contained in:
Brian Brazil 2016-01-04 00:01:37 +00:00
commit 329670e743

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