.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16. .TH PROMETHEUS-PGBOUNCER-EXPORTER "1" "November 2020" "prometheus-pgbouncer-exporter 1.7" "User Commands" .SH NAME prometheus-pgbouncer-exporter \- Export metrics from pgbouncer to Prometheus .SH 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] .PP Args that start with '\-\-' (eg. \fB\-\-version\fR) can also be set in a config file (specified via \fB\-c\fR). 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. .SS "optional arguments:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-version\fR Show the version .TP \fB\-c\fR CONFIG, \fB\-\-config\fR CONFIG config file path [env var: CONFIG] .TP \fB\-\-port\fR PORT Port on which to expose metrics [env var: PORT] .TP \fB\-\-host\fR HOST Host on which to expose metrics [env var: HOST] .TP \fB\-\-pgbouncer\-port\fR PGBOUNCER_PORT Port to connect to pgbouncer [env var: PGBOUNCER_PORT] .TP \fB\-\-pgbouncer\-user\fR PGBOUNCER_USER User to connect to pgbouncer with [env var: PGBOUNCER_USER] .TP \fB\-\-pgbouncer\-host\fR PGBOUNCER_HOST Host on which to connect to pgbouncer [env var: PGBOUNCER_HOST] .TP \fB\-\-database\fR DATABASE Databases to report metrics for, if this is not specified, all metrics will be reported [env var: PGBOUNCER_DATABASES] .TP \fB\-\-licence\-location\fR LICENCE_LOCATION The location of the licence, linked to through the web interface [env var: LICENCE_LOCATION]