OS Manuals

/usr/bin/pgbouncer_exporter

Prometheus exporter for PgBouncer

From prometheus-pgbouncer-exporter 0.12.1-r10 (enterprise-packages), captured 2026-11-08 by running pgbouncer_exporter --help (exit 0). permalink

usage: pgbouncer_exporter [<flags>]


Flags:
  -h, --[no-]help                Show context-sensitive help (also try --help-long and --help-man).
      --log.level=info           Only log messages with the given severity or above. One of: [debug,
                                 info, warn, error]
      --log.format=logfmt        Output format of log messages. One of: [logfmt, json]
      --pgBouncer.connectionString="postgres://postgres:@localhost:6543/pgbouncer?sslmode=disable"
                                 Connection string for accessing pgBouncer.
                                 ($PGBOUNCER_EXPORTER_CONNECTION_STRING)
      --web.telemetry-path="/metrics"
                                 Path under which to expose metrics.
      --pgBouncer.pid-file=""    Path to PgBouncer pid file.

                                   If provided, the standard process metrics get exported for the PgBouncer
                                   process, prefixed with 'pgbouncer_process_...'. The pgbouncer_process exporter
                                   needs to have read access to files owned by the PgBouncer process. Depends on
                                   the availability of /proc.

                                   https://prometheus.io/docs/instrumenting/writing_clientlibs/#process-metrics.
      --[no-]web.systemd-socket  Use systemd socket activation listeners instead of port listeners
                                 (Linux only).
      --web.listen-address=:9127 ...
                                 Addresses on which to expose metrics and web interface. Repeatable
                                 for multiple addresses. Examples: `:9100` or `[::1]:9100` for http,
                                 `vsock://:9100` for vsock
      --web.config.file=""       Path to configuration file that can
                                 enable TLS or authentication. See:
                                 https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md
      --[no-]version             Show application version.
Options (8)
OptionDescriptionSource
-hShow context-sensitive help (also try --help-long and --help-man).help
--log.level infoOnly log messages with the given severity or above.help
--log.format logfmtOutput format of log messages.help
--pgBouncer.connectionStringConnection string for accessing pgBouncer.help
--web.telemetry-path "/metrics"Path under which to expose metrics.help
--pgBouncer.pid-file ""Path to PgBouncer pid file.help
--web.listen-address :9127Addresses on which to expose metrics and web interface.help
--web.config.file ""Path to configuration file that can enable TLS or authentication.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.