tencent cloud

Feedback

Container

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 and workload_name dimensions are always required, and one of other required dimensions must be passed in.

    Namespace

    Namespace = QCE/TKE2

    Monitoring Metrics

    Parameter Metric Unit Dimension Statistical Period
    K8sContainer
    CpuCoreUsed
    Number of used CPU cores (average 2-minute number of CPU cores in the container) - Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    FsWriteTimes
    Number of block device writes - Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    NetworkReceiveBytesBw
    Network inbound bandwidth MB/s Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainerNetwork
    TransmitBytesBw
    Network outbound bandwidth MB/s Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainerRate
    CpuCoreUsedNode
    CPU utilization (usage/node) % Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainerRate
    MemNoCacheNode
    Memory utilization (usage/node, excluding cache) % Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainerRate
    MemUsageNode
    Memory utilization (usage/node) % Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    FsReadBytes
    Block device read bandwidth MB/s Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    MemNoCacheBytes
    Memory usage (excluding cache) MB Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    NetworkReceivePackets
    Network inbound packets Count/s Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    NetworkTransmitPackets
    Network outbound packets Count/s Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    RateCpuCoreUsedRequest
    Memory utilization (usage/request) % Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    RateMemNoCacheRequest
    Memory utilization (usage/request, excluding cache) % Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    RateMemUsageRequest
    Memory utilization (usage/request) % Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    FsReadTimes
    Number of block device reads - Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    MemUsageBytes
    Memory usage MB Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    NetworkTransmitBytes
    Network outbound traffic MB Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    RateCpuCoreUsedLimit
    CPU utilization (usage/limit) % Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    RateMemNoCacheLimit
    Memory utilization (usage/limit, excluding cache) % Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    RateMemUsageLimit
    Memory utilization (usage/limit) % Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    FsWriteBytes
    Block device write bandwidth MB/s Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    RateGpuMemory
    UsedNode
    GPU memory utilization (usage/node) % Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    RateGpuMemory
    UsedRequest
    GPU utilization (usage/request) % Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    RateGpuUsedNode
    GPU utilization (usage/node) % Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    RateGpuUsedRequest
    GPU utilization (usage/request) % Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    GpuMemoryUsedBytes
    GPU memory usage MB Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    60s,
    300s,
    3600s,
    86400s
    K8sContainer
    GpuUsed
    Container GPU usage MB Always required dimensions: tke_cluster_instance_id,
    workload_name
    Required dimensions (one of which must be passed in): namespace, node_role, node, un_instance_id, pod_name, container_name, container_id, workload_kind
    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 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
    Instances.N.Dimensions.N.Name Required (one of which must be passed in) 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 node_role Dimension name of the cluster Enter a string-type dimension name, such as `node_role`
    Instances.N.Dimensions.N.Value node_role Specific node role Enter a specific node role, such as node
    Instances.N.Dimensions.N.Name node Dimension name of the node name Enter a string-type dimension name, such as `node`
    Instances.N.Dimensions.N.Value node Specific node name Enter a specific node name, such as node
    Instances.N.Dimensions.N.Name un_instance_id Dimension name of the node ID Enter a string-type dimension name, such as `un_instance_id`
    Instances.N.Dimensions.N.Value un_instance_id Specific node ID Enter a specific node ID, such as ins-nwjhh123
    Instances.N.Dimensions.N.Name pod_name Dimension name of the Pod Enter a string-type dimension name, such as `pod_name`
    Instances.N.Dimensions.N.Value pod_name Specific pod name Enter a specific pod name, such as coredns-6ffc45f789-46lpq
    Instances.N.Dimensions.N.Name container_name Dimension name of the container name Enter a string-type dimension name, such as `container_name`
    Instances.N.Dimensions.N.Value container_name Specific container name Enter a specific container name, such as coredns
    Instances.N.Dimensions.N.Name container_id Dimension name of the container ID Enter a string-type dimension name, such as `container_id`
    Instances.N.Dimensions.N.Value container_id Specific container ID Enter a specific container ID, such as containerd://a133bd 5ecaada12cd5d5d f01fe8b7e692c3780a11b3 ff0daf01ee6f35cbbdbdf
    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

    Input Parameter Description

    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=workload_name
    &Instances.N.Dimensions.1.Value=coredns
    &Instances.N.Dimensions.2.Name=namespace
    &Instances.N.Dimensions.2.Value=kube-system

    In the node role 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
    &Instances.N.Dimensions.2.Name=node_role
    &Instances.N.Dimensions.2.Value=node

    In the node 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
    &Instances.N.Dimensions.2.Name=node
    &Instances.N.Dimensions.2.Value=node

    In the node ID 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
    &Instances.N.Dimensions.2.Name=un_instance_id
    &Instances.N.Dimensions.2.Value=ins-nwjhh123

    In the pod 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
    &Instances.N.Dimensions.2.Name=pod_name
    &Instances.N.Dimensions.2.Value=coredns-6ffc45f789-46lpq

    In the container 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
    &Instances.N.Dimensions.2.Name=container_name
    &Instances.N.Dimensions.2.Value=coredns

    In the container ID 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
    &Instances.N.Dimensions.2.Name=container_id
    &Instances.N.Dimensions.2.Value=containerd://a133bd5ecaada12cd5d5df01fe8b7e692c3780a11b3ff0daf01ee6f35cbbdbdf

    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