usage: postgres_exporter [<flags>]
Flags:
-h, --help Show context-sensitive help (also try --help-long and --help-man).
--web.listen-address=":9187"
Address to listen on for web interface and telemetry.
--web.config.file="" [EXPERIMENTAL] Path to configuration file that can enable TLS or
authentication.
--web.telemetry-path="/metrics"
Path under which to expose metrics.
--disable-default-metrics Do not include default metrics.
--disable-settings-metrics
Do not include pg_settings metrics.
--auto-discover-databases Whether to discover the databases on a server dynamically.
--extend.query-path="" Path to custom queries to run.
--dumpmaps Do not run, simply dump the maps.
--constantLabels="" A list of label=value separated by comma(,).
--exclude-databases="" A list of databases to remove when autoDiscoverDatabases is enabled
--include-databases="" A list of databases to include when autoDiscoverDatabases is
enabled
--metric-prefix="pg" A metric prefix can be used to have non-default (not "pg") prefixes
for each of the metrics
--version Show application version.
--log.level=info Only log messages with the given severity or above. One of: [debug,
info, warn, error]
--log.format=logfmt Output format of log messages. One of: [logfmt, json]
Options (16)
| Option | Description | Source |
|---|
-h, --help | Show context-sensitive help (also try --help-long and --help-man). | help |
--web.listen-address ":9187" | Address to listen on for web interface and telemetry. | help |
--web.config.file "" | [EXPERIMENTAL] Path to configuration file that can enable TLS or authentication. | help |
--web.telemetry-path "/metrics" | Path under which to expose metrics. | help |
--disable-default-metrics | Do not include default metrics. | help |
--disable-settings-metrics | Do not include pg_settings metrics. | help |
--auto-discover-databases | Whether to discover the databases on a server dynamically. | help |
--extend.query-path "" | Path to custom queries to run. | help |
--dumpmaps | Do not run, simply dump the maps. | help |
--constantLabels "" | A list of label=value separated by comma(,). | help |
--exclude-databases "" | A list of databases to remove when autoDiscoverDatabases is enabled | help |
--include-databases "" | A list of databases to include when autoDiscoverDatabases is enabled | help |
--metric-prefix "pg" | A metric prefix can be used to have non-default (not "pg") prefixes for each of the metrics | help |
--version | Show application version. | help |
--log.level info | Only log messages with the given severity or above. | help |
--log.format logfmt | Output format of log messages. | help |
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.