Queries for the AmlComputeCpuGpuUtilization table

For information on using these queries in the Azure portal, see Log Analytics tutorial. For the REST API, see Query.

Plot compute cluster utilization

Plot recent compute cluster CPU utilization over time for specific cluster.

AmlComputeCpuGpuUtilization
| join kind = inner (AmlComputeJobEvent
        | where  NodeId!="" and EventType =="JobSucceeded"
        | project NodeId, ClusterName)
    on NodeId 
| project TimeGenerated, todecimal(Utilization),  ClusterName, DeviceType
| where ClusterName=="Cpu-cluster" and DeviceType=="CPU"
| limit 100
| render timechart