tencent cloud

Feedback

Workload

Last updated: 2022-06-28 17:16:07

    Notes

    This document is only applicable to the DescribeStatisticData API. For all the following metrics, the tke_cluster_instance_id dimension is required, while other dimensions are optional.

    Namespace

    Namespace = QCE/TKE2

    Monitoring Metrics

    Parameter Metric Unit Dimension Statistical Period
    K8sWorkloadAbnormal Workload exception - Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadFsWriteTimes Number of block device writes - Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadNetwork
    ReceiveBytesBw
    Network inbound bandwidth MB Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadNetwork
    TransmitBytesBw
    Network outbound bandwidth MB Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadRateCpu
    CoreUsedCluster
    CPU utilization % Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkload
    CpuCoreUsed
    Number of used CPU cores - Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadMemNo
    CacheBytes
    Memory usage (excluding cache) MB Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadNetwork
    ReceivePackets
    Network inbound packets Count/s Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadNetwork
    TransmitPackets
    Network outbound packets Count/s Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadRateMem
    NoCacheCluster
    Memory utilization (excluding cache) % Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    required K8sWorkload
    FsReadBytes
    Block device read size MB Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    K8sWorkload
    MemUsageBytes
    Memory usage MB Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadNetwork
    TransmitBytes
    Network outbound traffic MB Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadPod
    RestartTotal
    Number of pod restarts - Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadRateMem
    UsageBytesCluster
    Memory utilization % Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkload
    FsReadTimes
    Number of block device reads - Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadNetwork
    ReceiveBytes
    Network inbound traffic MB Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkload
    FsWriteBytes
    Block device write size B Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadGpu
    MemoryUsedBytes
    GPU memory usage MB Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadGpuUsed Number of used GPU cards - Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadRateGpu
    MemoryUsedCluster
    GPU memory utilization % Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadRate
    GpuUsedCluster
    GPU utilization % Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadEks
    GpuMemoryUsage
    GPU memory utilization (elastic container) % Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadEks
    GpuMemoryUsedMib
    GPU memory usage (elastic container) MB Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadEks
    GpuUtilizationRates
    GPU utilization (elastic container) MB Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadRateCpu
    CoreUsedResource
    CPU utilization (usage/pod specification) % Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadRateMem
    UsageBytesResource
    Memory utilization (usage/pod specification) % Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s
    K8sWorkloadRateMem
    NoCacheBytesResource
    Memory utilization (usage/pod specification, excluding cache) % Required dimensions: tke_cluster_instance_id
    Optional dimensions: namespace, workload_kind, workload_name
    60s,
    300s,
    3600s,
    86400s

    Statistical Granularity and Time Span

    The supported time span varies by statistical granularity. When pulling monitoring data, you should pay attention to the time span restrictions as detailed below:

    Statistical Granularity Maximum Time Span (End Time - Start Time)
    60s 12 hours
    300s 3 days
    3600s 30 days
    86400s 186 days

    Overview of Parameters in Each Dimension

    Parameter Name Type Dimension Name Description Format
    Instances.N.Dimensions.N.Name Required tke_cluster_instance_id Dimension name of the cluster Enter a string-type dimension name, such as `tke_cluster_instance_id`
    Instances.N.Dimensions.N.Value tke_cluster_instance_id Specific cluster ID Enter a specific cluster ID, such as cls-fvkxp123
    Instances.N.Dimensions.N.Name Optional (zero, one, or multiple of which can be passed in optionally) namespace Dimension name of the namespace Enter a string-type dimension name, such as `namespace`
    Instances.N.Dimensions.N.Value namespace Specific namespace Enter a specific namespace, such as kube-system
    Instances.N.Dimensions.N.Name workload_kind Dimension name of the workload type Enter a string-type dimension name, such as `workload_kind`
    Instances.N.Dimensions.N.Value workload_kind Specific workload type Enter a specific workload name, such as Deployment
    Instances.N.Dimensions.N.Name workload_name Dimension name of the workload name Enter a string-type dimension name, such as `workload_name`
    Instances.N.Dimensions.N.Value workload_name Specific workload name Enter a specific workload name, such as coredns

    Input Parameter Description

    In the cluster dimension (required), use the following input parameters:
    &Namespace=QCE/TKE2
    &Instances.N.Dimensions.0.Name=tke_cluster_instance_id
    &Instances.N.Dimensions.0.Value=cls-fvkxp123

    In the namespace dimension, use the following input parameters:
    &Namespace=QCE/TKE2
    &Instances.N.Dimensions.0.Name=tke_cluster_instance_id
    &Instances.N.Dimensions.0.Value=cls-fvkxp123
    &Instances.N.Dimensions.1.Name=namespace
    &Instances.N.Dimensions.1.Value=kube-system

    In the workload type dimension, use the following input parameters:
    &Namespace=QCE/TKE2
    &Instances.N.Dimensions.0.Name=tke_cluster_instance_id
    &Instances.N.Dimensions.0.Value=cls-fvkxp123
    &Instances.N.Dimensions.1.Name=workload_kind
    &Instances.N.Dimensions.1.Value=Deployment

    In the workload name dimension, use the following input parameters:
    &Namespace=QCE/TKE2
    &Instances.N.Dimensions.0.Name=tke_cluster_instance_id
    &Instances.N.Dimensions.0.Value=cls-fvkxp123
    &Instances.N.Dimensions.1.Name=workload_name
    &Instances.N.Dimensions.1.Value=coredns

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support