Metrics
PostgreSQL v2 exposes a combination of infrastructure and database health metrics so you can monitor the state of your clusters. Infrastructure metrics describe the underlying node's resource usage, while database health metrics describe the behavior of the PostgreSQL engine itself.
Infrastructure metrics
Infrastructure metrics describe the health of the underlying node that hosts a database cluster, rather than the database engine itself. These metrics are collected by node_exporter and cover CPU, memory, disk I/O, filesystem capacity, and network throughput at the operating-system level. Use them together with database-specific metrics to distinguish node-level resource constraints, such as CPU saturation or low disk space, from issues originating inside the database engine.
The following metrics are available to gauge the infrastructure health of a database cluster.
Database health metrics
Unlike the infrastructure metrics, which describe the health of the underlying node, the metrics in this section come from postgres_exporter and describe the health of the PostgreSQL database engine itself. They report on activity inside the running instance, such as connection counts, database size, transaction throughput, checkpoint and WAL activity, replication status, vacuum and table maintenance, and query statistics, giving you visibility into database-level behavior that node-level resource metrics cannot show.
The following metrics are available to gauge the health and performance of PostgreSQL v2 clusters.
View metrics
Last updated
Was this helpful?