Yandex Monitoring metric reference
Written by
Updated at October 20, 2025
This section describes the Managed Service for PostgreSQL metrics delivered to Monitoring.
The name label contains the metric name.
Labels shared by all Managed Service for PostgreSQL metrics:
| Label | Value |
|---|---|
| service | Service ID: managed-postgresql |
| resource_type | Resource type: cluster |
| resource_id | Cluster ID |
| host | Host FQDN |
| node | Host type: primary or replica |
| subcluster_name | Subcluster name |
CPU metrics
These metrics show processor core workload.
| Name Type, units |
Description |
|---|---|
cpu.guestDGAUGE, % |
CPU core usage, guest usage type |
cpu.idleDGAUGE, % |
CPU core usage, idle usage type |
cpu.iowaitDGAUGE, % |
CPU core usage, iowait usage type |
cpu.irqDGAUGE, % |
CPU core usage, irq usage type |
cpu.niceDGAUGE, % |
CPU core usage, nice usage type |
cpu.softirqDGAUGE, % |
CPU core usage, softirq usage type |
cpu.stealDGAUGE, % |
CPU core usage, steal usage type |
cpu.systemDGAUGE, % |
CPU core usage, system usage type |
cpu.userDGAUGE, % |
CPU core usage, user usage type |
load.avg_15minDGAUGE, % |
Average load over 15 minutes |
load.avg_1minDGAUGE, % |
Average load over one minute |
load.avg_5minDGAUGE, % |
Average load over five minutes |
pg_backend_cpuDGAUGE, % |
PostgreSQL process CPU utilization |
Disk metrics
| Name Type, units |
Description |
|---|---|
disk.free_bytesDGAUGE, bytes |
Free space |
disk.free_inodesDGAUGE, count |
Free inodes |
disk.temp_files_sizeDGAUGE, bytes |
Size of temporary files |
disk.total_bytesDGAUGE, bytes |
Available space |
disk.total_inodesDGAUGE, count |
Available inodes |
disk.used_bytesDGAUGE, bytes |
Used space |
disk.used_inodesDGAUGE, count |
Used inodes |
disk.wal_sizeDGAUGE, bytes |
Write-ahead log (WAL) size |
pg_backend_read_bytesDGAUGE, bytes per second |
PostgreSQL process data read rate |
pg_backend_write_bytesDGAUGE, bytes per second |
PostgreSQL process data write rate |
Disk operation metrics
| Name Type, units |
Description |
|---|---|
io.avg_read_timeDGAUGE, milliseconds |
Average disk read time |
io.avg_write_timeDGAUGE, milliseconds |
Average disk write time |
io.disk*.avg_read_timeDGAUGE, milliseconds |
Average read time for a given disk |
io.disk*.avg_write_timeDGAUGE, milliseconds |
Average write time for a given disk |
io.disk*.read_bytesDGAUGE, bytes per second |
Read speed for a given disk |
io.disk*.read_countDGAUGE, operations per second |
Number of reads per second for a given disk |
io.disk*.read_merged_countDGAUGE, operations per second |
Number of merged read operations per second for a given disk |
io.disk*.utilizationDGAUGE, % |
Utilization of a given disk; disabled for network drives. |
io.disk*.write_bytesDGAUGE, bytes per second |
Write speed for a given disk |
io.disk*.write_countDGAUGE, operations per second |
Number of writes per second for a given disk |
io.disk*.write_merged_countDGAUGE, operations per second |
Number of merged write operations per second for a given disk |
io.read_bytesDGAUGE, bytes per second |
Disk read rate |
io.read_countDGAUGE, operations per second |
Number of read operations per second |
io.read_merged_countDGAUGE, operations per second |
Number of merged read operations per second |
io.utilizationDGAUGE, % |
Disk utilization |
io.write_bytesDGAUGE, bytes per second |
Disk write speed |
io.write_countDGAUGE, operations per second |
Number of writes per second |
io.write_merged_countDGAUGE, operations per second |
Number of merged write operations per second |
RAM metrics
| Name Type, units |
Description |
|---|---|
mem.active_bytesDGAUGE, bytes |
Active resident memory (frequently accessed and released when absolutely necessary) |
mem.available_bytesDGAUGE, bytes |
RAM usage, available usage type |
mem.buffers_bytesDGAUGE, bytes |
RAM usage, buffers usage type |
mem.cached_bytesDGAUGE, bytes |
RAM usage, cached usage type |
mem.free_bytesDGAUGE, bytes |
Amount of free RAM available, excluding mem.buffers_bytes and mem.cached_bytes |
mem.shared_bytesDGAUGE, bytes |
RAM usage, shared usage type |
mem.total_bytesDGAUGE, bytes |
RAM usage, total usage type |
mem.used_bytesDGAUGE, bytes |
Amount of RAM currently used by running processes |
oom_countDGAUGE, count |
Number of out-of-memory events |
Network metrics
| Name Type, units |
Description |
|---|---|
net.bytes_recvDGAUGE, bytes per second |
Network data receive rate |
net.bytes_sentDGAUGE, bytes per second |
Network data transmit rate |
net.dropinDGAUGE, count |
Dropped receive packets |
net.dropoutDGAUGE, count |
Dropped transmit packets |
net.errinDGAUGE, count |
Receive error count |
net.erroutDGAUGE, count |
Transmit error count |
net.packets_recvDGAUGE, packets per second |
Network packet receive rate |
net.packets_sentDGAUGE, packets per second |
Network packet transmit rate |
Service metrics
Cluster metrics
| Name Type, units |
Description |
|---|---|
can_readDGAUGE, 0/1 |
Read access indicator. It can be either 1 if a service on the host is available for reads or 0 if it is not. |
can_writeDGAUGE, 0/1 |
Write access indicator. It can be either 1 if a service on the host is available for writes or 0 if it is not. |
postgres-is_aliveDGAUGE, 0/1 |
Host health indicator. It can be either 1 if a DB host is healthy or 0 if it is not. |
postgres-is_primaryDGAUGE, 0/1 |
Master host indicator. It can be either 1 if a DB host is a master or 0 if it is not. |
postgres-is_replicaDGAUGE, 0/1 |
Replica host indicator. It can be either 1 if a DB host is a replica or 0 if it is not. |
postgres-log_errorsDGAUGE, messages per second |
Number of errors logged per second |
postgres-log_fatalsDGAUGE, messages per second |
Number of fatal errors logged per second |
postgres-log_slow_queriesDGAUGE, queries per second |
Number of slow queries logged per second |
postgres-log_warningsDGAUGE, messages per second |
Number of warnings logged per second |
postgres-replication_lagDGAUGE, seconds |
Replication lag. Calculated with one-second accuracy. A lag of less than one second cannot be tracked using this metric. |
postgres_max_connectionsDGAUGE, count |
Maximum number of connections |
postgres-oldest_inactive_replication_slot_durationDGAUGE, seconds |
Duration of the oldest inactive replication slot |
postgres_oldest_prepared_xact_durationDGAUGE, seconds |
Duration of the oldest prepared transaction |
postgres_oldest_query_durationDGAUGE, seconds |
Duration of the oldest query |
postgres_oldest_transaction_durationDGAUGE, seconds |
Duration of the oldest transaction |
postgres_role_conn_limitDGAUGE, count |
Maximum possible number of concurrent sessions per user |
postgres_role_total_conn_limitDGAUGE, count |
Maximum possible number of concurrent sessions for all users |
postgres_total_connectionsDGAUGE, count |
Number of connections |
postgres_wal_rate_bytesDGAUGE, bytes per second |
Write-ahead logging rate |
postgres_xid_leftDGAUGE, count |
Number of transaction counters left |
postgres_xid_left_percentDGAUGE, % |
Percentage of transaction counters left |
postgres_xid_used_percentDGAUGE, % |
Percentage of transaction counters used |
DB metrics
| Name Type, units |
Description |
|---|---|
_pg_database_sizeDGAUGE, bytes |
Database size. Additional labels: dbname |
<DB_name>_tup_deletedDGAUGE, count |
Number of rows deleted by queries in <DB_name> |
<DB_name>_tup_fetchedDGAUGE, count |
Number of rows fetched by queries in <DB_name> |
<DB_name>_tup_insertedDGAUGE, count |
Number of rows inserted by queries in <DB_name> |
<DB_name>_tup_returnedDGAUGE, count |
Number of rows returned by queries in <DB_name> |
<DB_name>_tup_updatedDGAUGE, count |
Number of rows updated by queries in <DB_name> |
Connection pooler metrics
| Name Type, units |
Description |
|---|---|
pooler-avg_query_timeDGAUGE, milliseconds |
Average query execution time per DB host |
pooler-avg_xact_timeDGAUGE, milliseconds |
Average execution time per transaction per DB host |
pooler-bytes_recievedDGAUGE, bytes |
Size of data received |
pooler-bytes_recieved-<DB_name>-<username>DGAUGE, bytes |
Size of data received by <username> through <DB_name> |
pooler-bytes_sentDGAUGE, bytes |
Size of data sent |
pooler-bytes_sent-<DB_name>-<username>DGAUGE, bytes |
Size of data sent by <username> through <DB_name> |
pooler-free_clientsDGAUGE, count |
Number of client connections left in the connection pooler |
pooler-free_serversDGAUGE, count |
Number of server connections left in the connection pooler |
pooler-is_aliveDGAUGE, 0/1 |
Connection pooler health for each host both as a master and as a replica |
pooler-login_clientsDGAUGE, count |
Number of client connections established in the connection pooler |
pooler-pgbouncer_tcp_connectionsDGAUGE, connections per second |
Number of PostgreSQL TCP connections |
pooler-postgres_tcp_connectionsDGAUGE, connections per second |
Number of PgBouncer TCP connections |
pooler-query_0.5DGAUGE, milliseconds |
Query execution time, median value |
pooler-query_0.5-<DB_name>-<username>DGAUGE, milliseconds |
Execution time for queries run by <username> through <DB_name>, median value |
pooler-query_0.75DGAUGE, milliseconds |
Query execution time, 75th percentile |
pooler-query_0.75-<DB_name>-<username>DGAUGE, milliseconds |
Execution time for queries run by <username> through <DB_name>, 75th percentile |
pooler-query_0.9DGAUGE, milliseconds |
Query execution time, 90th percentile |
pooler-query_0.9-<DB_name>-<username>DGAUGE, milliseconds |
Execution time for queries run by <username> through <DB_name>, 90th percentile |
pooler-query_0.95DGAUGE, milliseconds |
Query execution time, 95th percentile |
pooler-query_0.95-<DB_name>-<username>DGAUGE, milliseconds |
Execution time for queries run by <username> through <DB_name>, 95th percentile |
pooler-query_0.99DGAUGE, milliseconds |
Query execution time, 99th percentile |
pooler-query_0.99-<DB_name>-<username>DGAUGE, milliseconds |
Execution time for queries run by <username> through <DB_name>, 99th percentile |
pooler-query_0.999DGAUGE, milliseconds |
Query execution time, 99.9th percentile |
pooler-query_0.999-<DB_name>-<username>DGAUGE, milliseconds |
Execution time for queries run by <username> through <DB_name>, 99.9th percentile |
pooler-query_countDGAUGE, count |
Number of running queries per DB host |
pooler-tcp_conn_countDGAUGE, count |
Number of TCP connections per DB host |
pooler-tcp_conn_count-<DB_name>-<username>DGAUGE, count |
Number of <username> TCP connections per DB host through <DB_name> |
pooler-total_tcp_connectionsDGAUGE, connections per second |
Number of PostgreSQL and PgBouncer TCP connections |
pooler-transaction_0.5DGAUGE, milliseconds |
Transaction processing time, median value |
pooler-transaction_0.5-<DB_name>-<username>DGAUGE, milliseconds |
Processing time for transactions executed by <username> through <DB_name>, median value |
pooler-transaction_0.75DGAUGE, milliseconds |
Transaction processing time, 75th percentile |
pooler-transaction_0.75-<DB_name>-<username>DGAUGE, milliseconds |
Processing time for transactions executed by <username> through <DB_name>, 75th percentile |
pooler-transaction_0.9DGAUGE, milliseconds |
Transaction processing time, 90th percentile |
pooler-transaction_0.9-<DB_name>-<username>DGAUGE, milliseconds |
Processing time for transactions executed by <username> through <DB_name>, 90th percentile |
pooler-transaction_0.95DGAUGE, milliseconds |
Transaction processing time, 95th percentile |
pooler-transaction_0.95-<DB_name>-<username>DGAUGE, milliseconds |
Processing time for transactions executed by <username> through <DB_name>, 95th percentile |
pooler-transaction_0.99DGAUGE, milliseconds |
Transaction processing time, 99th percentile |
pooler-transaction_0.99-<DB_name>-<username>DGAUGE, milliseconds |
Processing time for transactions executed by <username> through <DB_name>, 99th percentile |
pooler-transaction_0.999DGAUGE, milliseconds |
Transaction processing time, 99.9th percentile |
pooler-transaction_0.999-<DB_name>-<username>DGAUGE, milliseconds |
Processing time for transactions executed by <username> through <DB_name>, 99.9th percentile |
pooler-used_clientsDGAUGE, count |
Number of client connections in the connection pooler |
pooler-used_serversDGAUGE, count |
Number of server connections in the connection pooler |
pooler-xact_countDGAUGE, count |
Number of running transactions per DB host |
Vacuum metrics
| Name Type, units |
Description |
|---|---|
postgres_autovacuum.autovacuum_max_workersDGAUGE, count |
Maximum number of autovacuum workers, as defined by autovacuum_max_workers. |
postgres_autovacuum.total_regular_workersDGAUGE, count |
Number of active autovacuum workers |
postgres_autovacuum.total_user_workersDGAUGE, count |
Number of active user-launched autovacuum workers |
postgres_autovacuum.total_wraparound_workersDGAUGE, count |
Number of active autovacuum workers launched to prevent wraparound |
postgres_autovacuum.scanned_pctDGAUGE, % |
Percentage of table rows scanned by an autovacuum worker |
postgres_autovacuum.vacuumed_pctDGAUGE, % |
Percentage of table rows vacuumed by an autovacuum worker |