Skip to content

postgres_exporter job from prometheus/17.4.0

Github source: 6d14c3be or master branch

Properties

postgres_exporter

custom_queries

Custom queries to run

datasource_name

The PostgresSQL server’s data source name

log_format

Set the log target and format. Example: ‘logger:syslog?appname=bob&local=7’ or ‘logger:stdout?json=true’

log_level

Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal]

web

port

Port on which to expose web interface and telemetry

Default
"9187"
telemetry_path

Path under which to expose Prometheus metrics

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/postgres_exporter/ directory (learn more).

  • bin/postgres_exporter_ctl (from bin/postgres_exporter_ctl)
  • config/custom_queries.sql (from config/custom_queries.sql)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.