Skip to content

Latest commit

 

History

History
519 lines (334 loc) · 12.8 KB

File metadata and controls

519 lines (334 loc) · 12.8 KB

kubeletstats

Default Metrics

The following metrics are emitted by default. Each of them can be disabled by applying the following configuration:

metrics:
  <metric_name>:
    enabled: false

container.cpu.time

Total cumulative CPU time (sum of all cores) spent by the container/pod/node since its creation

Unit Metric Type Value Type Aggregation Temporality Monotonic
s Sum Double Cumulative true

container.cpu.utilization

Container CPU utilization

Unit Metric Type Value Type
1 Gauge Double

container.filesystem.available

Container filesystem available

Unit Metric Type Value Type
By Gauge Int

container.filesystem.capacity

Container filesystem capacity

Unit Metric Type Value Type
By Gauge Int

container.filesystem.usage

Container filesystem usage

Unit Metric Type Value Type
By Gauge Int

container.memory.available

Container memory available

Unit Metric Type Value Type
By Gauge Int

container.memory.major_page_faults

Container memory major_page_faults

Unit Metric Type Value Type
1 Gauge Int

container.memory.page_faults

Container memory page_faults

Unit Metric Type Value Type
1 Gauge Int

container.memory.rss

Container memory rss

Unit Metric Type Value Type
By Gauge Int

container.memory.usage

Container memory usage

Unit Metric Type Value Type
By Gauge Int

container.memory.working_set

Container memory working_set

Unit Metric Type Value Type
By Gauge Int

k8s.node.cpu.time

Total cumulative CPU time (sum of all cores) spent by the container/pod/node since its creation

Unit Metric Type Value Type Aggregation Temporality Monotonic
s Sum Double Cumulative true

k8s.node.cpu.utilization

Node CPU utilization

Unit Metric Type Value Type
1 Gauge Double

k8s.node.filesystem.available

Node filesystem available

Unit Metric Type Value Type
By Gauge Int

k8s.node.filesystem.capacity

Node filesystem capacity

Unit Metric Type Value Type
By Gauge Int

k8s.node.filesystem.usage

Node filesystem usage

Unit Metric Type Value Type
By Gauge Int

k8s.node.memory.available

Node memory available

Unit Metric Type Value Type
By Gauge Int

k8s.node.memory.major_page_faults

Node memory major_page_faults

Unit Metric Type Value Type
1 Gauge Int

k8s.node.memory.page_faults

Node memory page_faults

Unit Metric Type Value Type
1 Gauge Int

k8s.node.memory.rss

Node memory rss

Unit Metric Type Value Type
By Gauge Int

k8s.node.memory.usage

Node memory usage

Unit Metric Type Value Type
By Gauge Int

k8s.node.memory.working_set

Node memory working_set

Unit Metric Type Value Type
By Gauge Int

k8s.node.network.errors

Node network errors

Unit Metric Type Value Type Aggregation Temporality Monotonic
1 Sum Int Cumulative true

Attributes

Name Description Values
interface Name of the network interface. Any Str
direction Direction of flow of bytes/operations (receive or transmit). Str: receive, transmit

k8s.node.network.io

Node network IO

Unit Metric Type Value Type Aggregation Temporality Monotonic
By Sum Int Cumulative true

Attributes

Name Description Values
interface Name of the network interface. Any Str
direction Direction of flow of bytes/operations (receive or transmit). Str: receive, transmit

k8s.pod.cpu.time

Total cumulative CPU time (sum of all cores) spent by the container/pod/node since its creation

Unit Metric Type Value Type Aggregation Temporality Monotonic
s Sum Double Cumulative true

k8s.pod.cpu.utilization

Pod CPU utilization

Unit Metric Type Value Type
1 Gauge Double

k8s.pod.filesystem.available

Pod filesystem available

Unit Metric Type Value Type
By Gauge Int

k8s.pod.filesystem.capacity

Pod filesystem capacity

Unit Metric Type Value Type
By Gauge Int

k8s.pod.filesystem.usage

Pod filesystem usage

Unit Metric Type Value Type
By Gauge Int

k8s.pod.memory.available

Pod memory available

Unit Metric Type Value Type
By Gauge Int

k8s.pod.memory.major_page_faults

Pod memory major_page_faults

Unit Metric Type Value Type
1 Gauge Int

k8s.pod.memory.page_faults

Pod memory page_faults

Unit Metric Type Value Type
1 Gauge Int

k8s.pod.memory.rss

Pod memory rss

Unit Metric Type Value Type
By Gauge Int

k8s.pod.memory.usage

Pod memory usage

Unit Metric Type Value Type
By Gauge Int

k8s.pod.memory.working_set

Pod memory working_set

Unit Metric Type Value Type
By Gauge Int

k8s.pod.network.errors

Pod network errors

Unit Metric Type Value Type Aggregation Temporality Monotonic
1 Sum Int Cumulative true

Attributes

Name Description Values
interface Name of the network interface. Any Str
direction Direction of flow of bytes/operations (receive or transmit). Str: receive, transmit

k8s.pod.network.io

Pod network IO

Unit Metric Type Value Type Aggregation Temporality Monotonic
By Sum Int Cumulative true

Attributes

Name Description Values
interface Name of the network interface. Any Str
direction Direction of flow of bytes/operations (receive or transmit). Str: receive, transmit

k8s.volume.available

The number of available bytes in the volume.

Unit Metric Type Value Type
By Gauge Int

k8s.volume.capacity

The total capacity in bytes of the volume.

Unit Metric Type Value Type
By Gauge Int

k8s.volume.inodes

The total inodes in the filesystem.

Unit Metric Type Value Type
1 Gauge Int

k8s.volume.inodes.free

The free inodes in the filesystem.

Unit Metric Type Value Type
1 Gauge Int

k8s.volume.inodes.used

The inodes used by the filesystem. This may not equal inodes - free because filesystem may share inodes with other filesystems.

Unit Metric Type Value Type
1 Gauge Int

Optional Metrics

The following metrics are not emitted by default. Each of them can be enabled by applying the following configuration:

metrics:
  <metric_name>:
    enabled: true

container.cpu.usage

Total CPU usage (sum of all cores per second) averaged over the sample window

Unit Metric Type Value Type
{cpu} Gauge Double

container.uptime

The time since the container started

Unit Metric Type Value Type Aggregation Temporality Monotonic
s Sum Int Cumulative true

k8s.container.cpu_limit_utilization

Container cpu utilization as a ratio of the container's limits

Unit Metric Type Value Type
1 Gauge Double

k8s.container.cpu_request_utilization

Container cpu utilization as a ratio of the container's requests

Unit Metric Type Value Type
1 Gauge Double

k8s.container.memory_limit_utilization

Container memory utilization as a ratio of the container's limits

Unit Metric Type Value Type
1 Gauge Double

k8s.container.memory_request_utilization

Container memory utilization as a ratio of the container's requests

Unit Metric Type Value Type
1 Gauge Double

k8s.node.cpu.usage

Total CPU usage (sum of all cores per second) averaged over the sample window

Unit Metric Type Value Type
{cpu} Gauge Double

k8s.node.uptime

The time since the node started

Unit Metric Type Value Type Aggregation Temporality Monotonic
s Sum Int Cumulative true

k8s.pod.cpu.usage

Total CPU usage (sum of all cores per second) averaged over the sample window

Unit Metric Type Value Type
{cpu} Gauge Double

k8s.pod.cpu_limit_utilization

Pod cpu utilization as a ratio of the pod's total container limits. If any container is missing a limit the metric is not emitted.

Unit Metric Type Value Type
1 Gauge Double

k8s.pod.cpu_request_utilization

Pod cpu utilization as a ratio of the pod's total container requests. If any container is missing a request the metric is not emitted.

Unit Metric Type Value Type
1 Gauge Double

k8s.pod.memory_limit_utilization

Pod memory utilization as a ratio of the pod's total container limits. If any container is missing a limit the metric is not emitted.

Unit Metric Type Value Type
1 Gauge Double

k8s.pod.memory_request_utilization

Pod memory utilization as a ratio of the pod's total container requests. If any container is missing a request the metric is not emitted.

Unit Metric Type Value Type
1 Gauge Double

k8s.pod.uptime

The time since the pod started

Unit Metric Type Value Type Aggregation Temporality Monotonic
s Sum Int Cumulative true

Resource Attributes

Name Description Values Enabled
aws.volume.id The id of the AWS Volume Any Str true
container.id Container id used to identify container Any Str true
fs.type The filesystem type of the Volume Any Str true
gce.pd.name The name of the persistent disk in GCE Any Str true
glusterfs.endpoints.name The endpoint name that details Glusterfs topology Any Str true
glusterfs.path Glusterfs volume path Any Str true
k8s.container.name Container name used by container runtime Any Str true
k8s.namespace.name The name of the namespace that the pod is running in Any Str true
k8s.node.name The name of the Node Any Str true
k8s.persistentvolumeclaim.name The name of the Persistent Volume Claim Any Str true
k8s.pod.name The name of the Pod Any Str true
k8s.pod.uid The UID of the Pod Any Str true
k8s.volume.name The name of the Volume Any Str true
k8s.volume.type The type of the Volume Any Str true
partition The partition in the Volume Any Str true