Supported metrics for Microsoft.HorizonDB/clusters

The following table lists the metrics available for the Microsoft.HorizonDB/clusters 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.
  • Advanced platform metrics - A premium, paid tier of platform metrics in Azure Monitor that provide more granular observability for Azure resources.
  • 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 - Shows 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.HorizonDB/clusters

Category: Activity

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
Active Connections

Active database connections
ActiveConnections No Count Average, Maximum, Minimum Pool, Node, Role PT1M No
Queries

Number of top-level queries executed per second, excluding queries nested within functions
Queries No CountPerSecond Minimum, Maximum, Total (Sum) Pool, Node, Role PT1M No
Successful Connections

Number of successful connections
SuccessfulConnections No Count Total (Sum) Pool, Node, Role PT1M No
Total Transactions

Number of transactions executed in this database
TotalTransactions No Count Total (Sum) Database, Pool, Node, Role PT1M No
Transactions

Number of transactions executed per second
Transactions No CountPerSecond Minimum, Maximum, Total (Sum) Pool, Node, Role PT1M No
Transactions Committed

Number of transactions committed in this database
TransactionsCommitted No Count Total (Sum) Database, Pool, Node, Role PT1M No
Transactions Rolled Back

Number of transactions rolled back in this database
TransactionsRolledBack No Count Total (Sum) Database, Pool, Node, Role PT1M No
Tuples Deleted

Number of rows deleted by queries in this database
TuplesDeleted No Count Total (Sum) Database PT1M No
Tuples Fetched

Number of rows fetched by queries in this database
TuplesFetched No Count Total (Sum) Database, Pool, Node, Role PT1M No
Tuples Inserted

Number of rows inserted by queries in this database
TuplesInserted No Count Total (Sum) Database PT1M No
Tuples Returned

Number of rows returned by queries in this database
TuplesReturned No Count Total (Sum) Database, Pool, Node, Role PT1M No
Tuples Updated

Number of rows updated by queries in this database
TuplesUpdated No Count Total (Sum) Database PT1M No

Category: Billing

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
Backup Used

Amount of backup storage used by the service, including snapshots of database files
BackupStorageUsed No Bytes Average, Maximum, Minimum <none> PT1M No
Storage Used

Amount of storage used by the service, including database files
StorageUsed No Bytes Average, Maximum, Minimum <none> PT1M No

Category: Compute

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
CPU Utilization

Host CPU utilization
CpuUtilization No Percent Average, Maximum, Minimum Pool, Node, Role PT1M No
Memory Utilization

Host memory utilization
MemoryUtilization No Percent Average, Maximum, Minimum Pool, Node, Role PT1M No

Category: Concurrency

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
Deadlocks

Number of deadlocks detected in this database
Deadlocks No Count Total (Sum) Database, Pool, Node, Role PT1M Yes
Maximum Connections

Maximum database connections configured through server parameters
MaximumConnections No Count Maximum Pool, Node, Role PT30M, PT1H, PT6H, PT12H, P1D No
Oldest Backend

Age of the oldest backend, regardless of state
OldestBackend No Seconds Maximum Pool, Node, Role PT1M No
Oldest Query

Age of the longest currently running query
OldestQuery No Seconds Maximum Pool, Node, Role PT1M No
Oldest Transaction

Age of the longest currently running transaction
OldestTransaction No Seconds Maximum Pool, Node, Role PT1M No
Oldest xmin

Value of the oldest xmin; a value that is not advancing can indicate long-running transactions preventing dead-tuple removal
OldestXmin No Count Maximum Pool, Node, Role PT1M No
Oldest xmin Age

Number of transactions that have elapsed since the oldest xmin was assigned
OldestXminAge No Count Maximum Pool, Node, Role PT1M No
Sessions by State

Number of sessions by state as reported by the pg_stat_activity view, such as active or idle
SessionsByState No Count Maximum, Minimum, Average State, Pool, Node, Role PT1M No
Sessions by Wait Event Type

Number of sessions by the event type for which the client backend is waiting
SessionsByWaitEventType No Count Maximum, Minimum, Average WaitEventType, Pool, Node, Role PT1M No

Category: Database

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
Buffer Pool Cache Hit Ratio

Percentage of reads served from shared buffers
BufferPoolCacheHitRatio No Percent Average, Maximum, Minimum Pool, Node, Role PT1M No
Database Size

Amount of storage used by the database
DatabaseSize No Bytes Average, Maximum, Minimum Database PT30M, PT1H, PT6H, PT12H, P1D No
Maximum Used Transaction IDs

Largest number of transaction IDs consumed; used to monitor proximity to XID wraparound
MaximumUsedTransactionIDs No Count Average, Maximum, Minimum Pool, Node, Role PT1M No
Temporary Files

Number of temporary files created by queries in this database
TemporaryFiles No Count Total (Sum) Database, Pool, Node, Role PT1M No
Temporary Files Size

Amount of data written to temporary files by queries in this database
TemporaryFilesSize No Bytes Total (Sum) Database, Pool, Node, Role PT1M No

Category: Errors

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
Failed Connections

Number of failed connections
FailedConnections No Count Total (Sum) Pool, Node, Role PT1M No

Category: Health

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
PostgreSQL Instance Is Alive

Indicates whether the PostgreSQL process is running
PostgreSqlInstanceIsAlive No Count Average, Maximum, Minimum Pool, Node, Role PT1M No

Category: Network

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
Network Egress

Amount of network data sent across active connections
NetworkEgress No Bytes Total (Sum) Pool, Node, Role PT1M No
Network Ingress

Amount of network data received across active connections
NetworkIngress No Bytes Total (Sum) Pool, Node, Role PT1M No

Category: Replication

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
Max Logical Replication Lag

Maximum lag across all logical replication slots
MaxLogicalReplicationDelay No Bytes Maximum, Minimum, Average <none> PT1M No

Category: Storage

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
Commit Latency

Maximum time taken by the engine to complete commit operations (microseconds)
CommitLatency No Unspecified Maximum <none> PT1M No
Page Read Iops

Number of page read I/O operations from storage
PageReadIops No CountPerSecond Average, Maximum, Minimum Pool, Node, Role PT1M No
Page Read Throughput

Amount of data in pages read from storage
PageReadThroughput No BytesPerSecond Average, Maximum, Minimum Pool, Node, Role PT1M No
SSD Cache Hit Ratio

Percentage of reads served by the local SSD cache
SsdCacheHitRatio No Percent Average, Maximum, Minimum Pool, Node, Role PT1M No
SSD Cache Hits

Number of reads served by the local SSD cache
SsdCacheHits No Count Average, Maximum, Minimum, Total (Sum) Pool, Node, Role PT1M No
SSD Cache Misses

Number of reads that missed the SSD cache and were served from storage
SsdCacheMisses No Count Average, Maximum, Minimum, Total (Sum) Pool, Node, Role PT1M No
SSD Cache Writes

Number of writes performed into the SSD cache
SsdCacheWrites No Count Average, Maximum, Minimum, Total (Sum) Pool, Node, Role PT1M No
WAL Write Iops

Number of WAL write I/O operations to storage
WALWriteIops No CountPerSecond Maximum <none> PT1M No
WAL Write Throughput

Amount of WAL written to storage
WALWriteThroughput No BytesPerSecond Maximum <none> PT1M No
Write Latency

Maximum time taken to flush a WAL record (microseconds)
WriteLatency No Unspecified Maximum <none> PT1M No

Category: Vacuum

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
Analyze Operations on User Tables

Number of times user tables have been manually analyzed in this database
AnalyzeUserTables No Count Maximum, Minimum, Average Database PT30M, PT1H, PT6H, PT12H, P1D No
Autoanalyze Operations on User Tables

Number of times user tables have been analyzed by the autovacuum daemon in this database
AutoanalyzeUserTables No Count Maximum, Minimum, Average Database PT30M, PT1H, PT6H, PT12H, P1D No
Autovacuum Operations on User Tables

Number of times user tables have been vacuumed by the autovacuum daemon in this database
AutovacuumUserTables No Count Maximum, Minimum, Average Database PT30M, PT1H, PT6H, PT12H, P1D No
Bloat Percent

Estimated bloat percentage for user tables in this database
BloatPercent No Percent Maximum Database PT30M, PT1H, PT6H, PT12H, P1D No
Estimated Dead Rows in User Tables

Estimated number of dead rows in user tables in this database
EstimatedDeadRowsUserTables No Count Maximum, Minimum, Average Database PT30M, PT1H, PT6H, PT12H, P1D No
Estimated Live Rows in User Tables

Estimated number of live rows in user tables in this database
EstimatedLiveRowsUserTables No Count Maximum, Minimum, Average Database PT30M, PT1H, PT6H, PT12H, P1D No
Rows Modified Since Analyze in User Tables

Estimated number of rows modified since user tables were last analyzed in this database
ModifiedRowsSinceAnalyzeUserTables No Count Maximum, Minimum, Average Database PT30M, PT1H, PT6H, PT12H, P1D No
User Tables

Number of user tables in this database
UserTables No Count Maximum, Minimum, Average Database PT30M, PT1H, PT6H, PT12H, P1D No
Analyzed User Tables

Number of user tables analyzed in this database
UserTablesAnalyzed No Count Maximum, Minimum, Average Database PT30M, PT1H, PT6H, PT12H, P1D No
Autoanalyzed User Tables

Number of user tables analyzed by the autovacuum daemon in this database
UserTablesAutoanalyzed No Count Maximum, Minimum, Average Database PT30M, PT1H, PT6H, PT12H, P1D No
Autovacuumed User Tables

Number of user tables vacuumed by the autovacuum daemon in this database
UserTablesAutovacuumed No Count Maximum, Minimum, Average Database PT30M, PT1H, PT6H, PT12H, P1D No
Vacuumed User Tables

Number of user tables vacuumed in this database
UserTablesVacuumed No Count Maximum, Minimum, Average Database PT30M, PT1H, PT6H, PT12H, P1D No

Next steps