Skip to content

Azure Integration - Database for PostgreSQL

Mackerel supports obtaining and monitoring Database for PostgreSQL metrics in Azure Integration. Billable targets are determined using the conversion 1 resource = 1 Micro Host.

Please refer to the following page for Azure Integration configuration methods and a list of supported Azure services.
Azure Integration

Obtaining metrics

The following metrics can be retrieved for Database for PostgreSQL servers.

A maximum of 34 metrics (including 16 enhanced metrics) will be retrieved. Enhanced metrics can be retrieved by turning on the server parameter metrics.collector_database_activity. The actual metrics obtained may be reduced depending on the server SKU and role.

For Metric explanations and how to enable enhanced metrics, please refer to the Azure documentation.

Graph nameMetricMetric name in MackerelUnitAggregation TypeEnhanced Metric
Availabilityis_db_aliveazure.db_for_postgresql.availability.dbfloatAveragex
Backendsnumbackendsazure.db_for_postgresql.backends.countfloatMaximumx
Backup Storage usedbackup_storage_usedazure.db_for_postgresql.backup_storage_used.bytesbytesAverage
Connectionsactive_connections
connections_succeeded
connections_failed
azure.db_for_postgresql.connections.active
azure.db_for_postgresql.connections.succeeded
azure.db_for_postgresql.connections.failed
floatAverage
Total
Total
CPU credits Remaining/Consumedcpu_credits_remaining
cpu_credits_consumed
azure.db_for_postgresql.cpu_credits.remaining
azure.db_for_postgresql.cpu_credits.consumed
floatAverage
CPU percentcpu_percentazure.db_for_postgresql.cpu.percentpercentageAverage
Deadlocksdeadlocksazure.db_for_postgresql.deadlocks.countfloatTotalx
Disk Bandwidth Consumeddisk_bandwidth_consumed_percentageazure.db_for_postgresql.disk_bandwidth_consumed.percentpercentageAveragex
Disk IOPSread_iops
write_iops
azure.db_for_postgresql.disk_iops.read
azure.db_for_postgresql.disk_iops.write
iopsAverage
Disk IOPS Consumeddisk_iops_consumed_percentageazure.db_for_postgresql.disk_ios_consumed.percentpercentageAveragex
Disk Throughputread_throughput
write_throughput
azure.db_for_postgresql.disk_throughput.read
azure.db_for_postgresql.disk_throughput.write
bytes/secAverage
Logical Replication Laglogical_replication_delay_in_bytesazure.db_for_postgresql.logical_replication_lag_bytes.maxbytesMaximumx
Memory percentmemory_percentazure.db_for_postgresql.memory.percentpercentageAverage
Network In/Outnetwork_bytes_egress
network_bytes_ingress
azure.db_for_postgresql.network.out
azure.db_for_postgresql.network.in
bytesTotal
Operated Tuples by Queriestup_deleted
tup_fetched
tup_inserted
tup_returned
tup_updated
azure.db_for_postgresql.tuples.deleted
azure.db_for_postgresql.tuples.fetched
azure.db_for_postgresql.tuples.inserted
azure.db_for_postgresql.tuples.returned
azure.db_for_postgresql.tuples.updated
floatTotalx
Physical Replication Lagphysical_replication_delay_in_bytesazure.db_for_postgresql.replication_lag_bytes.maxbytesMaximumx
Read Replica Lagphysical_replication_delay_in_secondsazure.db_for_postgresql.replication_lag.secondssecondsMaximumx
Storage percentstorage_percentazure.db_for_postgresql.storage.percentpercentageAverage
Storage limit/usedstorage_limit
storage_used
azure.db_for_postgresql.storage_limit_used.limit
azure.db_for_postgresql.storage_limit_used.used
bytesMaximum
Average
Transactionsxact_total
xact_commit
xact_rollback
azure.db_for_postgresql.transactions.total
azure.db_for_postgresql.transactions.commit
azure.db_for_postgresql.transactions.rollback
floatTotalx
Used Transaction IDsmaximum_used_transactionIDsazure.db_for_postgresql.used_transaction_ids.maxfloatMax

Notes

  • Of the graphs / metrics that can be obtained with Azure integration listed above, when obtaining Backup Storage used at the Basic price level, it is done so according to the specifications of the Azure Monitor API used by Azure integration, normally with a 15-minute interval granularity and updates having a latency of up to 30 minutes.