Skip to content

Commit

Permalink
Document INFLUXDB_PW env var in username flag
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusv committed Jan 3, 2016
1 parent 55e85a8 commit 87d1831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/prometheus/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 87d1831

Please sign in to comment.