postgres_exporter job from prometheus/15.2.0
Github source:
f96bb8de
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
(frombin/postgres_exporter_ctl
)config/custom_queries.sql
(fromconfig/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.