Kubernetes metrics

Stackdriver Monitoring supports the metric types from Google Kubernetes Engine listed on this page.

To use these metrics in charting or alerting, your Google Cloud project or AWS account must be associated with a Workspace. For more information, see Workspaces.
  • For a general explanation of the entries in the tables, including information about values like DELTA and GAUGE, see Metric types.

  • For information about statements of the form “Sampled every x seconds” and “After sampling, data is not visible for up to y seconds”, see Additional information: metadata.

  • For a set of complete, current lists of supported metric types, see Metrics list.

Kubernetes Metric List

Kubernetes metrics

Metrics from Google Kubernetes Engine.

kubernetes

Metrics for Google Kubernetes Engine. Some older versions of Google Kubernetes Engine use the container metrics. Launch stages of these metrics: GA BETA

The following metric type names must be prefixed with kubernetes.io/. That prefix has been omitted from the entries in the table.

Metric type Launch stage
Display name
Kind, Type, Unit
Monitored resources
Description
Labels
container/accelerator/duty_cycle BETA
Accelerator duty cycle
GAUGEINT64%
k8s_container
Percent of time over the past sample period (10s) during which the accelerator was actively processing. Sampled every 60 seconds.
make: Make of the accelerator (e.g. nvidia)
accelerator_id: ID of the accelerator.
model: Model of the accelerator (e.g. 'Tesla P100')
container/accelerator/memory_total BETA
Accelerator memory total
GAUGEINT64By
k8s_container
Total accelerator memory in bytes. Sampled every 60 seconds.
make: Make of the accelerator (e.g. nvidia)
accelerator_id: ID of the accelerator.
model: Model of the accelerator (e.g. 'Tesla P100')
container/accelerator/memory_used BETA
Accelerator memory used
GAUGEINT64By
k8s_container
Total accelerator memory allocated in bytes. Sampled every 60 seconds.
make: Make of the accelerator (e.g. nvidia)
accelerator_id: ID of the accelerator.
model: Model of the accelerator (e.g. 'Tesla P100')
container/accelerator/request BETA
Request accelerators
GAUGEINT64{devices}
k8s_container
Number of accelerator devices requested by the container. Sampled every 60 seconds.
resource_name: Name of the requested accelerator resource.
container/cpu/core_usage_time BETA
CPU usage time
CUMULATIVEDOUBLEs
k8s_container
Cumulative CPU usage on all cores used by the container in seconds. Sampled every 60 seconds.
container/cpu/limit_cores BETA
Limit cores
GAUGEDOUBLE{cpu}
k8s_container
CPU cores limit of the container. Sampled every 60 seconds.
container/cpu/limit_utilization BETA
CPU limit utilization
GAUGEDOUBLE1
k8s_container
The fraction of the CPU limit that is currently in use on the instance. This value cannot exceed 1 as usage cannot exceed the limit. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
container/cpu/request_cores BETA
Request cores
GAUGEDOUBLE{cpu}
k8s_container
Number of CPU cores requested by the container. Sampled every 60 seconds.
container/cpu/request_utilization BETA
CPU request utilization
GAUGEDOUBLE1
k8s_container
The fraction of the requested CPU that is currently in use on the instance. This value can be greater than 1 as usage can exceed the request. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
container/ephemeral_storage/limit_bytes BETA
Ephemeral storage limit
GAUGEINT64By
k8s_container
Local ephemeral storage limit in bytes. Sampled every 60 seconds.
container/ephemeral_storage/request_bytes BETA
Ephemeral storage request
GAUGEINT64By
k8s_container
Local ephemeral storage request in bytes. Sampled every 60 seconds.
container/ephemeral_storage/used_bytes BETA
Ephemeral storage usage
GAUGEINT64By
k8s_container
Local ephemeral storage usage in bytes. Sampled every 60 seconds.
container/memory/limit_bytes BETA
Memory limit
GAUGEINT64By
k8s_container
Memory limit of the container in bytes. Sampled every 60 seconds.
container/memory/limit_utilization BETA
Memory limit utilization
GAUGEDOUBLE1
k8s_container
The fraction of the memory limit that is currently in use on the instance. This value cannot exceed 1 as usage cannot exceed the limit. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
memory_type: Either `evictable` or `non-evictable`. Evictable memory is memory that can be easily reclaimed by the kernel, while non-evictable memory cannot.
container/memory/request_bytes BETA
Memory request
GAUGEINT64By
k8s_container
Memory request of the container in bytes. Sampled every 60 seconds.
container/memory/request_utilization BETA
Memory request utilization
GAUGEDOUBLE1
k8s_container
The fraction of the requested memory that is currently in use on the instance. This value can be greater than 1 as usage can exceed the request. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
memory_type: Either `evictable` or `non-evictable`. Evictable memory is memory that can be easily reclaimed by the kernel, while non-evictable memory cannot.
container/memory/used_bytes BETA
Memory usage
GAUGEINT64By
k8s_container
Memory usage in bytes. Sampled every 60 seconds.
memory_type: Either `evictable` or `non-evictable`. Evictable memory is memory that can be easily reclaimed by the kernel, while non-evictable memory cannot.
container/restart_count BETA
Restart count
CUMULATIVEINT641
k8s_container
Number of times the container has restarted. Sampled every 60 seconds.
container/uptime BETA
Uptime
GAUGEDOUBLEs
k8s_container
Time in seconds that the container has been running. Sampled every 60 seconds.
node/cpu/allocatable_cores BETA
Allocatable cores
GAUGEDOUBLE{cpu}
k8s_node
Number of allocatable CPU cores on the node. Sampled every 60 seconds.
node/cpu/allocatable_utilization BETA
CPU allocatable utilization
GAUGEDOUBLE1
k8s_node
The fraction of the allocatable CPU that is currently in use on the instance. This value cannot exceed 1 as usage cannot exceed allocatable CPU cores. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
node/cpu/core_usage_time BETA
CPU usage time
CUMULATIVEDOUBLEs
k8s_node
Cumulative CPU usage on all cores used on the node in seconds. Sampled every 60 seconds.
node/cpu/total_cores BETA
Total cores
GAUGEDOUBLE{cpu}
k8s_node
Total number of CPU cores on the node. Sampled every 60 seconds.
node/ephemeral_storage/allocatable_bytes BETA
Allocatable ephemeral storage
GAUGEINT64By
k8s_node
Local ephemeral storage bytes allocatable on the node. Sampled every 60 seconds.
node/ephemeral_storage/inodes_free GA
Free inodes
GAUGEINT641
k8s_node
Free number of inodes on local ephemeral storage. Sampled every 60 seconds.
node/ephemeral_storage/inodes_total GA
Total inodes
GAUGEINT641
k8s_node
Total number of inodes on local ephemeral storage. Sampled every 60 seconds.
node/ephemeral_storage/total_bytes BETA
Total ephemeral storage
GAUGEINT64By
k8s_node
Total ephemeral storage bytes on the node. Sampled every 60 seconds.
node/ephemeral_storage/used_bytes BETA
Ephemeral storage usage
GAUGEINT64By
k8s_node
Local ephemeral storage bytes used by the node. Sampled every 60 seconds.
node/memory/allocatable_bytes BETA
Allocatable memory
GAUGEINT64By
k8s_node
Cumulative memory bytes used by the node. Sampled every 60 seconds.
node/memory/allocatable_utilization BETA
Memory allocatable utilization
GAUGEDOUBLE1
k8s_node
The fraction of the allocatable memory that is currently in use on the instance. This value cannot exceed 1 as usage cannot exceed allocatable memory bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
memory_type: Either `evictable` or `non-evictable`. Evictable memory is memory that can be easily reclaimed by the kernel, while non-evictable memory cannot.
node/memory/total_bytes BETA
Total memory
GAUGEINT64By
k8s_node
Number of bytes of memory allocatable on the node. Sampled every 60 seconds.
node/memory/used_bytes BETA
Memory usage
GAUGEINT64By
k8s_node
Cumulative memory bytes used by the node. Sampled every 60 seconds.
memory_type: Either `evictable` or `non-evictable`. Evictable memory is memory that can be easily reclaimed by the kernel, while non-evictable memory cannot.
node/network/received_bytes_count BETA
Bytes received
CUMULATIVEINT64By
k8s_node
Cumulative number of bytes received by the node over the network. Sampled every 60 seconds.
node/network/sent_bytes_count BETA
Bytes transmitted
CUMULATIVEINT64By
k8s_node
Cumulative number of bytes transmitted by the node over the network. Sampled every 60 seconds.
node/pid_limit GA
PID capacity
GAUGEINT641
k8s_node
The max PID of OS on the node. Sampled every 60 seconds.
node/pid_used GA
PID usage
GAUGEINT641
k8s_node
The number of running process in the OS on the node. Sampled every 60 seconds.
node_daemon/cpu/core_usage_time BETA
CPU usage time
CUMULATIVEDOUBLEs
k8s_node
Cumulative CPU usage on all cores used by the node level system daemon in seconds. Sampled every 60 seconds.
component: Name of the respective system daemon.
node_daemon/memory/used_bytes BETA
Memory usage
GAUGEINT64By
k8s_node
Memory usage by the system daemon in bytes. Sampled every 60 seconds.
component: Name of the respective system daemon.
memory_type: Either `evictable` or `non-evictable`. Evictable memory is memory that can be easily reclaimed by the kernel, while non-evictable memory cannot.
pod/network/received_bytes_count BETA
Bytes received
CUMULATIVEINT64By
k8s_pod
Cumulative number of bytes received by the pod over the network. Sampled every 60 seconds.
pod/network/sent_bytes_count BETA
Bytes transmitted
CUMULATIVEINT64By
k8s_pod
Cumulative number of bytes transmitted by the pod over the network. Sampled every 60 seconds.
pod/volume/total_bytes BETA
Volume capacity
GAUGEINT64By
k8s_pod
Total number of disk bytes available to the pod. Sampled every 60 seconds.
volume_name: The name of the volume (e.g. `/dev/sda1`).
pod/volume/used_bytes BETA
Volume usage
GAUGEINT64By
k8s_pod
Number of disk bytes used by the pod. Sampled every 60 seconds.
volume_name: The name of the volume (e.g. `/dev/sda1`).
pod/volume/utilization BETA
Volume utilization
GAUGEDOUBLE1
k8s_pod
The fraction of the volume that is currently being used by the instance. This value cannot be greater than 1 as usage cannot exceed the total available volume space. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
volume_name: The name of the volume (e.g. `/dev/sda1`).

This metric data was last updated at 12/13/19 18:28:44 UTC.

¿Te ha resultado útil esta página? Enviar comentarios:

Enviar comentarios sobre...

Stackdriver Monitoring