Entities, lookup information, metrics, and API calls for Azure Resource Manager model
Entity list
The Microsoft Azure - Azure API Extractor monitors the following entities in the Azure Resource Manager model:
- Resource Group
- Virtual Machine
Entity relationship
The following table describes entity relationship details for the Resource Manager model:
Parent entity | Child entity | Relationship type |
---|---|---|
Resource Group - Azure (rg:azu) | Virtual Machine - Azure (gm:azu) | RG_CONTAINS_GM |
Metric mapping details for the Resource Manager model
Configuration metrics for virtual machines
TrueSight Capacity Optimization metric | Azure metric |
---|---|
CPU_NUM | numberOfCores |
DISK_NUM | maxDataDiskCount |
DISK_SIZE | resourceDiskSizeInMB |
LOCATION_SITE | location |
OS_FAMILY | properties.osDisk.osType |
OS_TYPE | properties.storageProfile.imageReference.offer |
OS_VER | properties.storageProfile.imageReference.sku |
REQUESTED_INSTANCE_TYPE | properties.hardwareProfile.vmSize |
TOTAL_REAL_MEM | memoryInMB |
Performance metrics for virtual machines
The following metrics are available for any VM when "Boot diagnostics" is enabled. (This option is enabled by default while creating VM.)
TrueSight Capacity Optimization metric | Azure metric |
---|---|
CPU_UTIL | (Percentage CPU) |
DISK_READ_RATE | (Disk Read Bytes)/3600 |
DISK_WRITE_RATE | (Disk Write Bytes)/3600 |
DISK_TRANSFER_RATE | (Disk Read Bytes+Disk Write Bytes)/3600 |
DISK_IO_READ_RATE | (Disk Read Operations/Sec) |
DISK_IO_WRITE_RATE | (Disk Write Operations/Sec) |
DISK_IO_RATE | (Disk Read Operations/Sec+Disk Write Operations/Sec) |
NET_OUT_BYTE_RATE | (Network Out)/3600 |
NET_IN_BYTE_RATE | (Network In)/3600 |
NET_BYTE_RATE | (Network In+Network Out)/3600 |
Performance metrics for Linux virtual machines
The following metrics are available for a Linux VM when the "Guest OS diagnostics" option is enabled in Azure. This option is by default disabled when you create the VM.
TrueSight Capacity Optimization metric | Azure metric |
---|---|
CPU_UTIL_GUEST | \Processor\PercentProcessorTime |
CPU_UTIL_IDLE | \Processor\PercentIdleTime |
CPU_UTIL_USER | \Processor\PercentUserTime |
CPU_UTIL_SYSTEM | \Processor\PercentPrivilegedTime |
CPU_UTIL_WAIT | \Processor\PercentIOWaitTime |
MEM_FREE | \Memory\AvailableMemory |
MEM_CONSUMED | \Memory\UsedMemory |
MEM_UTIL | \Memory\PercentUsedMemory |
MEM_UTIL_CACHED | \Memory\PercentUsedByCache |
MEM_PAGE_RATE | \Memory\PagesPerSec |
MEM_PAGE_IN_RATE | \Memory\PagesReadPerSec |
MEM_PAGE_OUT_RATE | \Memory\PagesWrittenPerSec |
SWAP_SPACE_FREE | \Memory\AvailableSwap |
SWAP_SPACE_USED | \Memory\UsedSwap |
SWAP_SPACE_UTIL | \Memory\PercentUsedSwap |
DISK_IO_RATE_GUEST | \PhysicalDisk\TransfersPerSecond |
DISK_IO_READ_RATE_GUEST | \PhysicalDisk\ReadsPerSecond |
DISK_IO_WRITE_RATE_GUEST | \PhysicalDisk\WritesPerSecond |
DISK_TRANSFER_RATE_GUEST | \PhysicalDisk\BytesPerSecond |
DISK_WRITE_RATE_GUEST | \PhysicalDisk\WriteBytesPerSecond |
NET_OUT_BYTE_RATE_GUEST | (\NetworkInterface\BytesTransmitted)/3600 |
NET_IN_BYTE_RATE_GUEST | (\NetworkInterface\BytesReceived)/3600 |
NET_BYTE_RATE_GUEST | (\NetworkInterface\BytesTotal)/3600 |
NET_OUT_PKT_RATE | (\NetworkInterface\PacketsTransmitted)/3600 |
NET_IN_PKT_RATE | (\NetworkInterface\PacketsReceived)/3600 |
NET_PKT_RATE | (\NetworkInterface\PacketsTransmitted+\NetworkInterface\PacketsReceived)/3600 |
NET_IN_ERROR_RATE | (\NetworkInterface\TotalRxErrors)/3600 |
NET_OUT_ERROR_RATE | (\NetworkInterface\TotalTxErrors)/3600 |
NET_ERROR_RATE | (\NetworkInterface\TotalRxErrors+\NetworkInterface\TotalTxErrors)/3600 |
Performance metrics for Windows VMs
The following metrics are available for Windows VMs when "Guest OS diagnostics" is enabled. This option is disabled by default while creating VM.
TrueSight Capacity Optimization metric | Azure metric |
---|---|
CPU_UTIL_GUEST | \Processor(_Total)\% Processor Time |
CPU_UTIL_SYSTEM | \Processor(_Total)\% Privileged Time |
CPU_UTIL_USER | \Processor(_Total)\% User Time |
CPU_MHZ | \Processor Information(_Total)\Processor Frequency |
MEM_VIRTUAL_USED_PCT | \Memory\% Committed Bytes In Use |
MEM_FREE | \Memory\Available Bytes |
MEM_UTIL | (memoryInMB - \Memory\Available Bytes)/memoryInMB |
MEM_VIRTUAL_ACTIVE | \Memory\Committed Bytes |
MEM_VIRTUAL_TOTAL | \Memory\Commit Limit |
MEM_VIRTUAL_FREE | \Memory\Commit Limit - \Memory\Committed Bytes |
MEM_CACHE_FAULTS | \Memory\Cache Faults/sec |
MEM_PAGE_FAULT_RATE | \Memory\Page Faults/sec |
MEM_PAGE_IN_RATE | \Memory\Page Reads/sec |
MEM_PAGE_RATE | \Memory\Pages/sec |
MEM_PAGE_OUT_RATE | \Memory\Pages/sec - \Memory\Page Reads/sec |
MEM_POOL_PAGED | \Memory\Pool Paged Bytes |
MEM_NONPOOL_PAGED | \Memory\Pool Nonpaged Bytes |
MEM_TRANSITION_FAULTS | \Memory\Transition Faults/sec |
DISK_IO_RATE_GUEST | \PhysicalDisk(_Total)\Disk Transfers/sec |
DISK_IO_READ_RATE_GUEST | \PhysicalDisk(_Total)\Disk Reads/sec |
DISK_IO_WRITE_RATE_GUEST | \PhysicalDisk(_Total)\Disk Writes/sec |
DISK_TRANSFER_RATE_GUEST | \PhysicalDisk(_Total)\Disk Bytes/sec |
DISK_READ_RATE_GUEST | \PhysicalDisk(_Total)\Disk Read Bytes/sec |
DISK_WRITE_RATE_GUEST`` | \PhysicalDisk(_Total)\Disk Write Bytes/sec |
LDISK_FREE | \LogicalDisk(_Total)\Free Megabytes |
API calls for the Azure Pay-As-You-Go accounts
The ETL makes the following REST API calls to retrieve data from the Azure Pay-As-You-Go accounts.
For more information, see the Azure Resource Manager.
API calls for the Azure Government cloud accounts
The ETL makes the following REST API calls to retrieve the data from the Azure Government cloud accounts: