Skip to main content
This page lists every metric exposed by the Managed Postgres Prometheus endpoint. For setup and authentication, see the Prometheus endpoint page.

Common labels

Every metric carries the following labels: Some metrics add a label for the dimension they break out (e.g. mode on CPU metrics, state on connections, database on database size). Those are listed alongside each metric.

Information metric

PostgresServiceInfo is a gauge that always equals 1 and carries the service’s current status and version on its labels. Use it to join status onto other metrics or to alert on a service leaving the running state. postgres_status reports the current lifecycle state of the service (for example running, creating, stopped). postgres_version reports the major Postgres version (e.g. 17, 18).

Capacity

Static limits provisioned for the service. These change only when the service is resized.

Resource utilization

To compute CPU usage as a percentage, take the rate of PostgresServer_CPUSeconds_Total over the modes you care about and divide by PostgresServer_CPUCores.

Disk and network I/O

Database activity

Cumulative counters since service start. Use rate() or irate() to turn them into per-second values.

Connections, cache, and database size

Last modified on June 23, 2026