File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ Package vendoring is handled with [`govendor`](https://github.com/kardianos/gove
4242### Flags
4343
4444* ` web.listen-address `
45- Address to listen on for web interface and telemetry.
45+ Address to listen on for web interface and telemetry. Default is ` :9187 ` .
4646
4747* ` web.telemetry-path `
48- Path under which to expose metrics.
48+ Path under which to expose metrics. Default is ` /metrics ` .
4949
5050* ` disable-default-metrics `
5151 Use only metrics supplied from ` queries.yaml ` via ` --extend.query-path `
@@ -88,6 +88,21 @@ The following environment variables configure the exporter:
8888 the password to connect with.
8989* ` DATA_SOURCE_PASS_FILE `
9090 The same as above but reads the password from a file.
91+
92+ * ` PG_EXPORTER_WEB_LISTEN_ADDRESS `
93+ Address to listen on for web interface and telemetry. Default is ` :9187 ` .
94+
95+ * ` PG_EXPORTER_WEB_TELEMETRY_PATH `
96+ Path under which to expose metrics. Default is ` /metrics ` .
97+
98+ * ` PG_EXPORTER_DISABLE_DEFAULT_METRICS `
99+ Use only metrics supplied from ` queries.yaml ` . Value can be ` true ` or ` false ` . Default is ` false ` .
100+
101+ * ` PG_EXPORTER_EXTEND_QUERY_PATH `
102+ Path to a YAML file containing custom queries to run. Check out [ ` queries.yaml ` ] ( queries.yaml )
103+ for examples of the format.
104+
105+ Settings set by environment variables starting with ` PG_ ` will be overwritten by the corresponding CLI flag if given.
91106
92107### Setting the Postgres server's data source name
93108
You can’t perform that action at this time.
0 commit comments