Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README cli flags #783

Merged
merged 1 commit into from
Mar 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,22 @@ This will build the docker image as `prometheuscommunity/postgres_exporter:${bra
* `collector.bgwriter`
Enable the pg_stat_bgwriter collector. Default is `enabled`

* `collector.replication_slot`
Enable the replication_slot collector. Default is `enabled`

* `config.file`
Set the config file path. Default is `postgres_exporter.yml`

* `web.systemd-socket`
Use systemd socket activation listeners instead of port listeners (Linux only). Default is `false`

* `web.listen-address`
Address to listen on for web interface and telemetry. Default is `:9187`.

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

* `web.telemetry-path`
Path under which to expose metrics. Default is `/metrics`.

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

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

### Environment Variables

The following environment variables configure the exporter:
Expand Down