.TH prometheus-postgres-exporter 1 postgres_exporter, version 0.11.1 (branch: debian/sid, revision: 0.11.1-3+b5) .SH "NAME" prometheus-postgres-exporter - Prometheus exporter for PostgreSQL .SH "SYNOPSIS" .TP \fBprometheus-postgres-exporter []\fR .SH "DESCRIPTION" .SH "OPTIONS" .TP \fB-h, --help\fR Show context-sensitive help (also try --help-long and --help-man). .TP \fB--collector.database\fR Enable the database collector (default: enabled). .TP \fB--collector.bgwriter\fR Enable the bgwriter collector (default: enabled). .TP \fB--web.telemetry-path\fR Path under which to expose metrics. .TP \fB--disable-default-metrics\fR Do not include default metrics. .TP \fB--disable-settings-metrics\fR Do not include pg_settings metrics. .TP \fB--auto-discover-databases\fR Whether to discover the databases on a server dynamically. .TP \fB--extend.query-path\fR Path to custom queries to run. .TP \fB--dumpmaps\fR Do not run, simply dump the maps. .TP \fB--constantLabels\fR A list of label=value separated by comma(,). .TP \fB--exclude-databases\fR A list of databases to remove when autoDiscoverDatabases is enabled .TP \fB--include-databases\fR A list of databases to include when autoDiscoverDatabases is enabled .TP \fB--metric-prefix\fR A metric prefix can be used to have non-default (not "pg") prefixes for each of the metrics .TP \fB--web.systemd-socket\fR Use systemd socket activation listeners instead of port listeners (Linux only). .TP \fB--web.listen-address=:9187\fR Addresses on which to expose metrics and web interface. Repeatable for multiple addresses. .TP \fB--web.config.file\fR [EXPERIMENTAL] Path to configuration file that can enable TLS or authentication. .TP \fB--version\fR Show application version. .TP \fB--log.level=info\fR Only log messages with the given severity or above. One of: [debug, info, warn, error] .TP \fB--log.format=logfmt\fR Output format of log messages. One of: [logfmt, json]