Container

Last updated: 2021-05-31 11:19:39

    Note

    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/TKE

    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
    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
    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 Packets/sec 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 Packets/sec 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
    RateGpuMemoryUsedNode
    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
    RateGpuMemoryUsedRequest
    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

    Overview of Parameters in Each Dimension

    Parameter Name Type Dimension Name Description Format
    Instances.N.Dimensions.N.Name Always required tke_cluster_instance_id Cluster dimension name Enter a String-type dimension name: 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 Workload name dimension name Enter a String-type dimension name: 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 Namespace dimension name Enter a String-type dimension name: namespace
    Instances.N.Dimensions.N.Value namespace Specific namespace Enter a specific namespace, such as kube-system
    Instances.N.Dimensions.N.Name node_role Cluster dimension name Enter a String-type dimension name: 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 Node name dimension name Enter a String-type dimension name: 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 Node ID dimension name Enter a String-type dimension name: 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 Pod name dimension name Enter a String-type dimension name: 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 Container name dimension name Enter a String-type dimension name: 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 Container ID dimension name Enter a String-type dimension name: 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 Workload type dimension name Enter a String-type dimension name: 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/TKE
    &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/TKE
    &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/TKE
    &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/TKE
    &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/TKE
    &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/TKE
    &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/TKE
    &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