Skip to content

Commit b432945

Browse files
committed
update docs with examples of DATA_SOURCE_URI
1 parent 3ecfd46 commit b432945

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,9 @@ The following environment variables configure the exporter:
9494
URI may contain the username and password to connect with.
9595

9696
* `DATA_SOURCE_URI`
97-
an alternative to `DATA_SOURCE_NAME` which exclusively accepts the raw URI
98-
without a username and password component.
97+
an alternative to `DATA_SOURCE_NAME` which exclusively accepts the hostname
98+
without a username and password component. For example, `my_pg_hostname` or
99+
`my_pg_hostname?sslmode=disable`.
99100

100101
* `DATA_SOURCE_URI_FILE`
101102
The same as above but reads the URI from a file.

0 commit comments

Comments
 (0)