Preset configs

Name Description Config JSON Active DBs using config Last modified
aurora 2021-07-22 11:30:11+00
azure 2021-07-22 11:30:11+00
basic 2021-07-22 11:30:11+00
exhaustive 2021-07-22 11:30:11+00
full 2021-07-22 11:30:11+00
full_influx 2021-07-22 11:30:11+00
gce 2021-07-22 11:30:11+00
minimal 2021-07-22 11:30:11+00
pgbouncer 2021-07-22 11:30:11+00
pgpool 2021-07-22 11:30:11+00
prometheus 2021-07-22 11:30:11+00
rds 2021-07-22 11:30:11+00
standard 2021-07-22 11:30:11+00
superuser_no_python 2021-07-22 11:30:11+00
unprivileged 2021-07-22 11:30:11+00

Active metrics listing

Metric definitions

Metric PG ver.
from
SQL Privileged SQL Comment Is
active?
Is
helper?
Master
only?
Standby
only?
Metric attributes Column attributes Last modified
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
2021-07-22 11:30:11
NB! Metric fetching SQL-s should always have the "epoch_ns" column present (otherwise server time will be used). Additionally columns with "tag_" prefix will be turned into indexed tags in InfluxDB or stored in the indexed "$metric_name.tag_data" column for Postgres for fast access. Also "dbname" (DB unique name) column will always be added by the framework

Available metric attributes:

is_instance_level (default: false)
Instance level metrics can be cached and shared between multiple DBs of a single instance to reduce query load on server. Default caching period is 30s, use the --instance-level-cache-max-seconds (PW2_INSTANCE_LEVEL_CACHE_MAX_SECONDS env.) gatherer param to change or set to 0 to disable. Caching will only be applied to 'continuous' DB types and only if metric interval is bigger than the --instance-level-cache-max-seconds value.
statement_timeout_seconds
Enables to override the default 'per monitored DB' statement timeouts on metric level
metric_storage_name
Enables dynamic "renaming" of metrics at storage level, i.e. declaring almost similar metrics with different names but the data will be stored under one metric. Currently used (for out-of-the box metrics) only for the 'stat_statements_no_query_text' metric, to not to store actual query texts from the "pg_stat_statements" extension for more security sensitive instances.
extension_version_based_overrides
Enables to "switch out" the query text from some other metric based on some specific extension version. See 'reco_add_index' for an example definition.
disabled_days
Enables to "pause" metric gathering on specified days. See metric_attrs.yaml for "wal" for an example.
disabled_times
Enables to "pause" metric gathering on specified time intervals. e.g. "09:00-17:00" for business hours. NB! disabled_days / disabled_times can also be defined both on metric and host (host_attrs) level.

Available column attributes:

prometheus_all_gauge_columns (default: false}
Only relevant for Prometheus output to correctly set the (suggested, not validated) metric type. GAUGE = value changing with every scrape, COUNTER = value is normally incremented (like most postgres statistics)
prometheus_gauge_columns (default: [])
Only relevant for Prometheus output to correctly set the (suggested, not validated) metric type. List of GAUGE (value changing with every scrape) columns for the given metric. When not set all columns are considered to be of type COUNTER
prometheus_ignored_columns (default: [])
Only relevant for Prometheus output. For cases where we don't want some columns to be exposed