Supported metrics for Microsoft.DBForPostgreSQL/serverGroupsv2

The following table lists the metrics available for the Microsoft.DBForPostgreSQL/serverGroupsv2 resource type.

Table headings

Metric - The metric display name as it appears in the Azure portal.
Name in Rest API - Metric name as referred to in the REST API.
Unit - Unit of measure.
Aggregation - The default aggregation type. Valid values: Average, Minimum, Maximum, Total, Count.
Dimensions - Dimensions available for the metric.
Time Grains - Intervals at which the metric is sampled. For example, PT1M indicates that the metric is sampled every minute, PT30M every 30 minutes, PT1H every hour, and so on.
DS Export- Whether the metric is exportable to Azure Monitor Logs via Diagnostic Settings.

For information on exporting metrics, see Create diagnostic settings in Azure Monitor.

For information on metric retention, see Azure Monitor Metrics overview.

For a list of supported logs, see Supported log categories - Microsoft.DBForPostgreSQL/serverGroupsv2

Category Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Traffic Active Connections

Active Connections
active_connections Count Average, Maximum, Minimum ServerName PT1M Yes
Saturation Reserved Memory percent

Percentage of Commit Memory Limit Reserved by Applications
apps_reserved_memory_percent Percent Average, Maximum, Minimum ServerName PT1M Yes
Saturation CPU Credits Consumed

Total number of credits consumed by the node. Only available when burstable compute is provisioned on the node.
cpu_credits_consumed Count Average, Maximum, Minimum ServerName PT1M Yes
Saturation CPU Credits Remaining

Total number of credits available to burst. Only available when burstable compute is provisioned on the node.
cpu_credits_remaining Count Average, Maximum, Minimum ServerName PT1M Yes
Saturation CPU percent

CPU percent
cpu_percent Percent Average, Maximum, Minimum ServerName PT1M Yes
Traffic IOPS

IO operations per second
iops Count Average, Maximum, Minimum ServerName PT1M Yes
Saturation Memory percent

Memory percent
memory_percent Percent Average, Maximum, Minimum ServerName PT1M Yes
Traffic Network Out

Network Out across active connections
network_bytes_egress Bytes Total (Sum) ServerName PT1M Yes
Traffic Network In

Network In across active connections
network_bytes_ingress Bytes Total (Sum) ServerName PT1M Yes
Latency Replication lag

Allows to see how much read replica nodes are behind their counterparts in the primary cluster
replication_lag MilliSeconds Average, Maximum, Minimum ServerName PT1M Yes
Saturation Storage percent

Storage percent
storage_percent Percent Average, Maximum, Minimum ServerName PT1M Yes
Saturation Storage used

Storage used
storage_used Bytes Average, Maximum, Minimum ServerName PT1M Yes
Saturation VM Cached Bandwidth Consumed Percentage

Percentage of cached disk bandwidth consumed by the VM
vm_cached_bandwidth_percent Percent Average ServerName PT1M Yes
Saturation VM Cached IOPS Consumed Percentage

Percentage of cached disk IOPS consumed by the VM
vm_cached_iops_percent Percent Average ServerName PT1M Yes
Saturation VM Uncached Bandwidth Consumed Percentage

Percentage of uncached disk bandwidth consumed by the VM
vm_uncached_bandwidth_percent Percent Average ServerName PT1M Yes
Saturation VM Uncached IOPS Consumed Percentage

Percentage of uncached disk IOPS consumed by the VM
vm_uncached_iops_percent Percent Average ServerName PT1M Yes

Next steps