Scroll to navigation

PROMETHEUS-POSTGRES-EXPORTER(1) Prometheus PROMETHEUS-POSTGRES-EXPORTER(1)

NAME

prometheus-postgres-exporter - Prometheus exporter for PostgreSQL

SYNOPSIS

DESCRIPTION

OPTIONS

Show context-sensitive help (also try --help-long and --help-man).
Enable the buffercache_summary collector (default: disabled).
Enable the database collector (default: enabled).
Enable the database_wraparound collector (default: disabled).
Enable the locks collector (default: enabled).
Enable the long_running_transactions collector (default: disabled).
Enable the postmaster collector (default: disabled).
Enable the process_idle collector (default: disabled).
Enable the replication collector (default: enabled).
Enable the replication_slot collector (default: enabled).
Enable the roles collector (default: enabled).
Enable the stat_activity_autovacuum collector (default: disabled).
Enable the stat_bgwriter collector (default: enabled).
Enable the stat_checkpointer collector (default: disabled).
Enable the stat_database collector (default: enabled).
Enable the stat_progress_vacuum collector (default: enabled).
Enable the stat_statements collector (default: disabled).
Enable selecting statement query together with queryId. (default: disabled)
Maximum length of the statement text.
Maximum number of statements to return.
Comma-separated list of database names to exclude. (default: none)
Comma-separated list of user names to exclude. (default: none)
Enable the stat_user_tables collector (default: enabled).
Enable the stat_wal_receiver collector (default: disabled).
Enable the statio_user_indexes collector (default: disabled).
Enable the statio_user_tables collector (default: enabled).
Enable the wal collector (default: enabled).
Enable the xlog_location collector (default: disabled).
Postgres exporter configuration file.
Use systemd socket activation listeners instead of port listeners (Linux only).
Addresses on which to expose metrics and web interface. Repeatable for multiple addresses. Examples: `:9100` or `[::1]:9100` for http, `vsock://:9100` for vsock
Path to configuration file that can enable TLS or authentication. See: https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md
Path under which to expose metrics.
Do not include default metrics.
Do not include pg_settings metrics.
Whether to discover the databases on a server dynamically. (DEPRECATED)
Path to custom queries to run. (DEPRECATED)
Do not run, simply dump the maps.
A list of label=value separated by comma(,). (DEPRECATED)
A list of databases to remove when autoDiscoverDatabases is enabled (DEPRECATED)
A list of databases to include when autoDiscoverDatabases is enabled (DEPRECATED)
A metric prefix can be used to have non-default (not "pg") prefixes for each of the metrics
Timeout for collecting the statistics when the database is slow
Show application version.
Only log messages with the given severity or above. One of: [debug, info, warn, error]
Output format of log messages. One of: [logfmt, json]
February 2026 prometheus-postgres-exporter 0.19.0