Skip to content

collectors PostgresqlCollector

Rob Smith edited this page May 6, 2014 · 11 revisions

PostgresqlCollector

Collect metrics from postgresql

Dependencies

  • psycopg2

Options - Generic Options

Setting Default Description Type
byte_unit byte Default numeric output(s) str
enabled False Enable collecting these metrics bool
extended False Enable collection of extended database stats. bool
host localhost Hostname str
measure_collector_time False Collect the collector run time in ms bool
metrics , List of enabled metrics to collect list
password postgres Password str
pg_version 9.2 The version of postgres that you'll be monitoring eg in format 9.2 float
port 5432 Port number int
underscore False Convert _ to . bool
user postgres Username str

Example Output

__EXAMPLESHERE__

This file was generated from the python source

Please edit the source to make changes

Clone this wiki locally