.TH PROMETHEUS-POSTGRES-EXPORTER "1" "March 2024" "prometheus-postgres-exporter 0.15.0" "Prometheus"/ .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.database_wraparound\fR Enable the database_wraparound collector (default: disabled). .TP \fB--collector.locks\fR Enable the locks collector (default: enabled). .TP \fB--collector.long_running_transactions\fR Enable the long_running_transactions collector (default: disabled). .TP \fB--collector.postmaster\fR Enable the postmaster collector (default: disabled). .TP \fB--collector.process_idle\fR Enable the process_idle collector (default: disabled). .TP \fB--collector.replication\fR Enable the replication collector (default: enabled). .TP \fB--collector.replication_slot\fR Enable the replication_slot collector (default: enabled). .TP \fB--collector.stat_activity_autovacuum\fR Enable the stat_activity_autovacuum collector (default: disabled). .TP \fB--collector.stat_bgwriter\fR Enable the stat_bgwriter collector (default: enabled). .TP \fB--collector.stat_database\fR Enable the stat_database collector (default: enabled). .TP \fB--collector.stat_statements\fR Enable the stat_statements collector (default: disabled). .TP \fB--collector.stat_user_tables\fR Enable the stat_user_tables collector (default: enabled). .TP \fB--collector.stat_wal_receiver\fR Enable the stat_wal_receiver collector (default: disabled). .TP \fB--collector.statio_user_indexes\fR Enable the statio_user_indexes collector (default: disabled). .TP \fB--collector.statio_user_tables\fR Enable the statio_user_tables collector (default: enabled). .TP \fB--collector.wal\fR Enable the wal collector (default: enabled). .TP \fB--collector.xlog_location\fR Enable the xlog_location collector (default: disabled). .TP \fB--config.file\fR Postgres exporter configuration file. .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 Path to configuration file that can enable TLS or authentication. See: https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md .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. (DEPRECATED) .TP \fB--extend.query-path\fR Path to custom queries to run. (DEPRECATED) .TP \fB--dumpmaps\fR Do not run, simply dump the maps. .TP \fB--constantLabels\fR A list of label=value separated by comma(,). (DEPRECATED) .TP \fB--exclude-databases\fR A list of databases to remove when autoDiscoverDatabases is enabled (DEPRECATED) .TP \fB--include-databases\fR A list of databases to include when autoDiscoverDatabases is enabled (DEPRECATED) .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--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]