Skip to content

Commit 2391ad1

Browse files
authored
Merge pull request #783 from sysadmind/update-readme
Update README cli flags
2 parents 285462b + a32ef40 commit 2391ad1

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

README.md

+13-4
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,22 @@ This will build the docker image as `prometheuscommunity/postgres_exporter:${bra
7777
* `collector.bgwriter`
7878
Enable the pg_stat_bgwriter collector. Default is `enabled`
7979

80+
* `collector.replication_slot`
81+
Enable the replication_slot collector. Default is `enabled`
82+
83+
* `config.file`
84+
Set the config file path. Default is `postgres_exporter.yml`
85+
86+
* `web.systemd-socket`
87+
Use systemd socket activation listeners instead of port listeners (Linux only). Default is `false`
88+
8089
* `web.listen-address`
8190
Address to listen on for web interface and telemetry. Default is `:9187`.
8291

92+
* `web.config.file`
93+
Configuration file to use TLS and/or basic authentication. The format of the
94+
file is described [in the exporter-toolkit repository](https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md).
95+
8396
* `web.telemetry-path`
8497
Path under which to expose metrics. Default is `/metrics`.
8598

@@ -118,10 +131,6 @@ This will build the docker image as `prometheuscommunity/postgres_exporter:${bra
118131
* `log.format`
119132
Set the log format: one of `logfmt`, `json`.
120133

121-
* `web.config.file`
122-
Configuration file to use TLS and/or basic authentication. The format of the
123-
file is described [in the exporter-toolkit repository](https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md).
124-
125134
### Environment Variables
126135

127136
The following environment variables configure the exporter:

0 commit comments

Comments
 (0)