mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-01-09 15:59:29 +00:00
update docs with examples of DATA_SOURCE_URI (#378)
this has a minor change to the wording and a couple of examples to demonstrate the use of DATA_SOURCE_URI. Closes #113
This commit is contained in:
parent
aac3b0d919
commit
77d42931d0
@ -94,8 +94,9 @@ The following environment variables configure the exporter:
|
||||
URI may contain the username and password to connect with.
|
||||
|
||||
* `DATA_SOURCE_URI`
|
||||
an alternative to `DATA_SOURCE_NAME` which exclusively accepts the raw URI
|
||||
without a username and password component.
|
||||
an alternative to `DATA_SOURCE_NAME` which exclusively accepts the hostname
|
||||
without a username and password component. For example, `my_pg_hostname` or
|
||||
`my_pg_hostname?sslmode=disable`.
|
||||
|
||||
* `DATA_SOURCE_URI_FILE`
|
||||
The same as above but reads the URI from a file.
|
||||
|
Loading…
Reference in New Issue
Block a user