Scroll to navigation

PROMETHEUS-PGBOUNCER-EXPORTER(1) User Commands PROMETHEUS-PGBOUNCER-EXPORTER(1)

NAME

prometheus-pgbouncer-exporter - Export metrics from pgbouncer to Prometheus

DESCRIPTION

usage: prometheus-pgbouncer-exporter [-h] [--version] [-c CONFIG] [--port PORT] [--host HOST] [--pgbouncer-port PGBOUNCER_PORT] [--pgbouncer-user PGBOUNCER_USER] [--pgbouncer-host PGBOUNCER_HOST] [--database DATABASE] [--licence-location LICENCE_LOCATION]

options:

show this help message and exit
Show the version
config file path [env var: CONFIG]
Port on which to expose metrics [env var: PORT]
Host on which to expose metrics [env var: HOST]
Port to connect to pgbouncer [env var: PGBOUNCER_PORT]
User to connect to pgbouncer with [env var: PGBOUNCER_USER]
Host on which to connect to pgbouncer [env var: PGBOUNCER_HOST]
Databases to report metrics for, if this is not specified, all metrics will be reported [env var: PGBOUNCER_DATABASES]
The location of the licence, linked to through the web interface [env var: LICENCE_LOCATION]

Args that start with '--' (eg. --version) can also be set in a config file (specified via -c). Config file syntax allows: key=value, flag=true, stuff=[a,b,c] (for details, see syntax at https://goo.gl/R74nmi). If an arg is specified in more than one place, then commandline values override environment variables which override config file values which override defaults.

October 2022 prometheus-pgbouncer-exporter 1.7