This topic describes the metrics for clusters, nodes, and pods in Container Service for Kubernetes (ACK).
Note Before CloudMonitor can monitor ACK clusters, you must update the
metrics-server
component of the clusters to V0.3.8 or later. For more information, see Install the metrics-server component.
When you call an API operation provided by CloudMonitor, set the Namespace and Period parameters.
- Set the Namespace parameter to acs_k8s.
- Set the Period parameter to an integral multiple of 60. Default value: 60. Unit: seconds.
The following table describes the valid values of the MetricName and Dimensions parameters.
Metric | Unit | MetricName | Dimensions | Statistics |
---|---|---|---|---|
cluster.cpu.limit | Core | cluster.cpu.limit | userId and cluster | Value |
cluster.cpu.request | Core | cluster.cpu.request | userId and cluster | Value |
cluster.cpu.usage_rate | Core | cluster.cpu.usage_rate | userId and cluster | Value |
cluster.cpu.utilization | % | cluster.cpu.utilization | userId and cluster | Value |
cluster.memory.limit | Byte | cluster.memory.limit | userId and cluster | Value |
cluster.memory.request | Byte | cluster.memory.request | userId and cluster | Value |
cluster.memory.utilization | % | cluster.memory.utilization | userId and cluster | Value |
node.cpu.allocatable | Core | node.cpu.allocatable | userId, cluster, and node | Value |
node.cpu.capacity | Core | node.cpu.capacity | userId, cluster, and node | Value |
node.cpu.limit | Core | node.cpu.limit | userId, cluster, and node | Value |
node.cpu.oversale_rate(usage/request) | % | node.cpu.oversale_rate | userId, cluster, and node | Value |
node.cpu.request | Core | node.cpu.request | userId, cluster, and node | Value |
node.cpu.usage_rate | Core | node.cpu.usage_rate | userId, cluster, and node | Value |
node.cpu.utilization | % | node.cpu.utilization | userId, cluster, and node | Value |
node.filesystem.available | Count | node.filesystem.available | userId, cluster, and node | Value |
node.filesystem.inodes | Count | node.filesystem.inodes | userId, cluster, and node | Value |
node.filesystem.limit | Count | node.filesystem.limit | userId, cluster, and node | Value |
node.filesystem.usage | Count | node.filesystem.usage | userId, cluster, and node | Value |
node.memory.allocatable | Byte | node.memory.allocatable | userId, cluster, and node | Value |
node.memory.cache | Count | node.memory.cache | userId, cluster, and node | Value |
node.memory.limit | Count | node.memory.limit | userId, cluster, and node | Value |
node.memory.oversale_rate(usage/request) | % | node.memory.oversale_rate | userId, cluster, and node | Value |
node.memory.request | Count | node.memory.request | userId, cluster, and node | Average, Maximum, Minimum, Count, Sum, and Value |
node.memory.usage | Count | node.memory.usage | userId, cluster, and node | Average, Maximum, Minimum, Count, Sum, and Value |
node.memory.utilization | % | node.memory.utilization | userId, cluster, and node | Value |
node.memory.working_set | Count | node.memory.working_set | userId, cluster, and node | Average, Maximum, Minimum, Count, Sum, and Value |
node.network.rx_errors | Count | node.network.rx_errors | userId, cluster, and node | Average, Maximum, Minimum, Count, Sum, and Value |
node.network.rx_errors_rate | Count | node.network.rx_errors_rate | userId, cluster, and node | Average, Maximum, Minimum, Count, Sum, and Value |
node.network.rx_rate | Count | node.network.rx_rate | userId, cluster, and node | Average, Maximum, Minimum, Count, Sum, and Value |
node.network.tx_errors_rate | Count | node.network.tx_errors_rate | userId, cluster, and node | Average, Maximum, Minimum, Count, Sum, and Value |
node.network.tx_rate | Count | node.network.tx_rate | userId, cluster, and node | Average, Maximum, Minimum, Count, Sum, and Value |
ns.cpu.limit | Core | ns.cpu.limit | userId, cluster, and namespace | Value |
CPU resource limit of container group | Core | pod.cpu.limit | userId, cluster, namespace, type, app, and pod | Value |
pod.cpu.oversale_rate(usage/request) | % | pod.cpu.oversale_rate | userId, cluster, namespace, type, app, and pod | Value |
CPU resource request of container group | Core | pod.cpu.request | userId, cluster, namespace, type, app, and pod | Value |
CPU usage of container group | Core | pod.cpu.usage_rate | userId, cluster, namespace, type, app, and pod | Value |
pod.cpu.utilization(usage/limit) | % | pod.cpu.utilization | userId, cluster, namespace, type, app, and pod | Value |
Memory resource cache of container group | Byte | pod.memory.cache | userId, cluster, namespace, type, app, and pod | Value |
Memory resource limit of container group | Byte | pod.memory.limit | userId, cluster, namespace, type, app, and pod | Value |
pod.memory.oversale_rate(usage/request) | % | pod.memory.oversale_rate | userId, cluster, namespace, type, app, and pod | Value |
Memory resource request of container group | Byte | pod.memory.request | userId, cluster, namespace, type, app, and pod | Value |
Memory resource rss of container group | Byte | pod.memory.rss | userId, cluster, namespace, type, app, and pod | Value |
pod.memory.utilization(working_set/limit) | % | pod.memory.utilization | userId, cluster, namespace, type, app, and pod | Value |
Memory working set of container group | Byte | pod.memory.working_set | userId, cluster, namespace, type, app, and pod | Value |
Network inflow error ratio of container group | Byte/s | pod.network.rx_errors_rate | userId, cluster, namespace, type, app, and pod | Value |
Network inflow ratio of container group | Byte/s | pod.network.rx_rate | userId, cluster, namespace, type, app, and pod | Value |
Network outflow error ratio of container group | Byte/s | pod.network.tx_errors_rate | userId, cluster, namespace, type, app, and pod | Value |
Network outflow ratio of container group | Byte/s | pod.network.tx_rate | userId, cluster, namespace, type, app, and pod | Value |
deployment.filesystem.available | Byte | deployment.filesystem.available | userId, cluster, namespace, type, and app | Sum |
deployment.filesystem.limit | Byte | deployment.filesystem.limit | userId, cluster, namespace, type, and app | Sum |
pod.filesystem.available | Byte | pod.filesystem.available | userId, cluster, namespace, type, app, and pod | Value |
pod.filesystem.limit | Byte | pod.filesystem.limit | userId, cluster, namespace, type, app, and pod | Value |
cluster.filesystem.available | Byte | cluster.filesystem.available | userId and cluster | Value |
cluster.filesystem.limit | Byte | cluster.filesystem.limit | userId and cluster | Value |