This topic describes how to view the monitoring data of a GPU-accelerated compute optimized ECS instance in the CloudMonitor console and query the data by calling an API operation.

Prerequisites

GPU metrics

GPU metrics can be viewed based on GPUs, instances, and application groups. The following table lists the GPU metrics.
MetricUnitMetricNameDimensions
(Agent)gpu_decoder_utilization%gpu_decoder_utilizationuserId, instanceId, and gpuId
(Agent)gpu_encoder_utilization%gpu_encoder_utilizationuserId, instanceId, and gpuId
(Agent)gpu_gpu_temperature°Cgpu_gpu_temperatureuserId, instanceId, and gpuId
(Agent)gpu_gpu_usedutilization%gpu_gpu_usedutilizationuserId, instanceId, and gpuId
(Agent)gpu_memory_freespaceBytegpu_memory_freespaceuserId, instanceId, and gpuId
(Agent)gpu_memory_freeutilization%gpu_memory_freeutilizationuserId, instanceId, and gpuId
(Agent)gpu_memory_userdspaceBytegpu_memory_userdspaceuserId, instanceId, and gpuId
(Agent)gpu_memory_usedutilization%gpu_memory_usedutilizationuserId, instanceId, and gpuId
(Agent)gpu_power_readings_power_drawWgpu_power_readings_power_drawuserId, instanceId, and gpuId

View GPU metric data in the CloudMonitor console

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, click Host Monitoring.
  3. On the Host Monitoring page, click the host name or click the Monitoring Charts in the Actions column of the host.
  4. Click the GPU Monitoring tab.
    On the GPUMonitor tab, view the monitoring charts for GPU metrics.

Query GPU metric data by calling an API operation

You can call the DescribeMetricList operation to query the GPU metric data of the ECS instance. For more information, see DescribeMetricList.
Note Set the Namespace parameter to acs_ecs_dashboard and specify the MetricName and Dimensions parameters. For more information, see GPU metrics.