Docs » Integrations Guide » Integrations Reference » Kubernetes

image0 Kubernetes

Metadata associated with the Kubernetes integration can be found here. The relevant documentation for the project can be found here.

DESCRIPTION

See the Kubernetes setup instructions to start using our Kubernetes integration.

METRICS

Below is a list of all metrics.

Metric Name Brief Type
container_cpu_system_seconds_total Cumulative system cpu time consumed in nanoseconds. counter
container_cpu_usage_seconds_total Cumulative cpu time consumed per cpu in nanoseconds. counter
container_cpu_user_seconds_total Cumulative user cpu time consumed in nanoseconds. counter
container_cpu_utilization Cumulative cpu utilization in percentages. counter
container_fs_io_current Number of I/Os currently in progress gauge
container_fs_io_time_seconds_total Cumulative count of seconds spent doing I/Os counter
container_fs_io_time_weighted_seconds_total Cumulative weighted I/O time in seconds counter
container_fs_limit_bytes Number of bytes that the container may occupy on this filesystem. gauge
container_fs_read_seconds_total Cumulative count of seconds spent reading counter
container_fs_reads_merged_total Cumulative count of reads merged counter
container_fs_reads_total Cumulative count of reads completed counter
container_fs_sector_reads_total Cumulative count of sector reads completed counter
container_fs_sector_writes_total Cumulative count of sector writes completed counter
container_fs_usage_bytes Number of bytes that are consumed by the container on this filesystem. gauge
container_fs_write_seconds_total Cumulative count of seconds spent writing counter
container_fs_writes_merged_total Cumulative count of writes merged counter
container_fs_writes_total Cumulative count of writes completed counter
container_last_seen Last time a container was seen by the exporter gauge
container_memory_failcnt Number of memory usage hits limits counter
container_memory_failures_total Cumulative count of memory allocation failures. counter
container_memory_usage_bytes Current memory usage in bytes. gauge
container_memory_working_set_bytes Current working set in bytes. gauge
container_network_receive_bytes_total Cumulative count of bytes received counter
container_network_receive_errors_total Cumulative count of errors encountered while receiving counter
container_network_receive_packets_dropped_total Cumulative count of packets dropped while receiving counter
container_network_receive_packets_total Cumulative count of packets received counter
container_network_transmit_bytes_total Cumulative count of bytes transmitted counter
container_network_transmit_errors_total Cumulative count of errors encountered while transmitting counter
container_network_transmit_packets_dropped_total Cumulative count of packets dropped while transmitting counter
container_network_transmit_packets_total Cumulative count of packets transmitted counter
container_spec_cpu_shares CPU share of the container. gauge
container_spec_memory_limit_bytes Memory limit for the container. gauge
container_spec_memory_swap_limit_bytes Memory swap limit for the container. gauge
container_start_time_seconds Start time of the container since unix epoch in seconds. gauge
container_tasks_state Number of tasks in given state gauge
kubernetes.daemon_set.current_scheduled The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod gauge
kubernetes.daemon_set.desired_scheduled The total number of nodes that should be running the daemon pod (including nodes currently running the daemon pod) gauge
kubernetes.daemon_set.misscheduled The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod gauge
kubernetes.daemon_set.ready The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready gauge
kubernetes.deployment.available Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. gauge
kubernetes.deployment.desired Number of desired pods gauge
kubernetes.replica_set.available Total number of available pods (ready for at least minReadySeconds) targeted by this replica set. gauge
kubernetes.replica_set.desired Number of desired pods gauge
kubernetes.replication_controller.available Total number of available pods (ready for at least minReadySeconds) targeted by this replication controller. gauge
kubernetes.replication_controller.desired Number of desired pods gauge
kubernetes_container_restart_count How many times the container has restarted (capped at 5 due to K8s GC) gauge
kubernetes_node_ready Whether this node is ready (1), not ready (0) or in an unknown state (-1) gauge
kubernetes_pod_phase Current phase of the pod (1 - Pending, 2 - Running, 3 - Succeeded, 4 - Failed, 5 - Unknown) gauge
machine_cpu_cores Number of CPU cores on the node. gauge
machine_cpu_frequency_khz Node’s CPU frequency. gauge
machine_memory_bytes Amount of memory installed on the node. gauge

container_cpu_system_seconds_total

counter

Cumulative system cpu time consumed in nanoseconds.

container_cpu_usage_seconds_total

counter

Cumulative cpu time consumed per cpu in nanoseconds.

container_cpu_user_seconds_total

counter

Cumulative user cpu time consumed in nanoseconds.

container_cpu_utilization

counter

Cumulative cpu utilization in percentages. This metric is container_cpu_usage_seconds_total/10000000. Metric has counter type because user would be interested in rate of change (Rollup: Rate/sec)

container_fs_io_current

gauge

Number of I/Os currently in progress.

container_fs_io_time_seconds_total

counter

Cumulative count of seconds spent doing I/Os.

container_fs_io_time_weighted_seconds_total

counter

Cumulative weighted I/O time in seconds.

container_fs_limit_bytes

gauge

Number of bytes that the container may occupy on this filesystem.

container_fs_read_seconds_total

counter

Cumulative count of seconds spent reading.

container_fs_reads_merged_total

counter

Cumulative count of reads merged.

container_fs_reads_total

counter

Cumulative count of reads completed.

container_fs_sector_reads_total

counter

Cumulative count of sector reads completed.

container_fs_sector_writes_total

counter

Cumulative count of sector writes completed.

container_fs_usage_bytes

gauge

Number of bytes that are consumed by the container on this filesystem.

container_fs_write_seconds_total

counter

Cumulative count of seconds spent writing.

container_fs_writes_merged_total

counter

Cumulative count of writes merged.

container_fs_writes_total

counter

Cumulative count of writes completed.

container_last_seen

gauge

Last time a container was seen by the exporter.

container_memory_failcnt

counter

Number of memory usage hits limits.

container_memory_failures_total

counter

Cumulative count of memory allocation failures.

container_memory_usage_bytes

gauge

Current memory usage in bytes.

container_memory_working_set_bytes

gauge

Current working set in bytes.

container_network_receive_bytes_total

counter

Cumulative count of bytes received.

container_network_receive_errors_total

counter

Cumulative count of errors encountered while receiving.

container_network_receive_packets_dropped_total

counter

Cumulative count of packets dropped while receiving.

container_network_receive_packets_total

counter

Cumulative count of packets received.

container_network_transmit_bytes_total

counter

Cumulative count of bytes transmitted.

container_network_transmit_errors_total

counter

Cumulative count of errors encountered while transmitting.

container_network_transmit_packets_dropped_total

counter

Cumulative count of packets dropped while transmitting.

container_network_transmit_packets_total

counter

Cumulative count of packets transmitted.

container_spec_cpu_shares

gauge

CPU share of the container.

container_spec_memory_limit_bytes

gauge

Memory limit for the container.

container_spec_memory_swap_limit_bytes

gauge

Memory swap limit for the container.

container_start_time_seconds

gauge

Start time of the container since unix epoch in seconds.

container_tasks_state

gauge

Number of tasks in given state.

kubernetes.daemon_set.current_scheduled

gauge

The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod

kubernetes.daemon_set.desired_scheduled

gauge

The total number of nodes that should be running the daemon pod (including nodes currently running the daemon pod)

kubernetes.daemon_set.misscheduled

gauge

The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod

kubernetes.daemon_set.ready

gauge

The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready

kubernetes.deployment.available

gauge

Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.

kubernetes.deployment.desired

gauge

Number of desired pods

kubernetes.replica_set.available

gauge

Total number of available pods (ready for at least minReadySeconds) targeted by this replica set.

kubernetes.replica_set.desired

gauge

Number of desired pods

kubernetes.replication_controller.available

gauge

Total number of available pods (ready for at least minReadySeconds) targeted by this replication controller.

kubernetes.replication_controller.desired

gauge

Number of desired pods

kubernetes_container_restart_count

gauge

How many times the container has restarted (capped at 5 due to K8s GC)

kubernetes_node_ready

gauge

Whether this node is ready (1), not ready (0) or in an unknown state (-1)

kubernetes_pod_phase

gauge

Current phase of the pod (1 - Pending, 2 - Running, 3 - Succeeded, 4 - Failed, 5 - Unknown)

machine_cpu_cores

gauge

Number of CPU cores on the node.

machine_cpu_frequency_khz

gauge

Node’s CPU frequency.

machine_memory_bytes

gauge

Amount of memory installed on the node.