Type to search.

Container metrics

Serverless

Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

Serverless interfaces and procedures might differ from classic Elastic Stack deployments.

Stack

The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

Learn about key container metrics displayed in the Infrastructure UI:

These are the key metrics displayed for Docker containers.

Note The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Generally available since 9.3 This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

For Docker container metrics, the Infrastructure UI and inventory rules only support metric data collected by the Docker integration. If you're using Elastic OpenTelemetry and these views appear empty, refer to Kubernetes Pods and Docker Containers views empty when using Elastic OpenTelemetry.

Stack 9.3+

The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.

Availability

  • Generally available since 9.3

    This functionality is generally available and ready for production usage.

Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

Filter event.module : "docker" Used to filter relevant data.
Identifier container.id Used to identify each entity.
Display value container.name Used as a display friendly value.
Metric Description
CPU Usage (%) Average CPU for the container.

Field Calculation: average(docker.cpu.total.pct)
Metric Description
Memory Usage (%) Average memory usage for the container.

Field Calculation: average(docker.memory.usage.pct)
Metric Description
Inbound Traffic (RX) Derivative of the maximum of docker.network.in.bytes scaled to a 1 second rate.

Field Calculation: average(docker.network.inbound.bytes) * 8 / (max(metricset.period, kql='docker.network.inbound.bytes: *') / 1000)
Outbound Traffic (TX) Derivative of the maximum of docker.network.out.bytes scaled to a 1 second rate.

Field Calculation: average(docker.network.outbound.bytes) * 8 / (max(metricset.period, kql='docker.network.outbound.bytes: *') / 1000)
Metric Description
Disk Read IOPS Average count of read operations from the device per second.

Field Calculation: counter_rate(max(docker.diskio.read.ops), kql='docker.diskio.read.ops: *')
Disk Write IOPS Average count of write operations from the device per second.

Field Calculation: counter_rate(max(docker.diskio.write.ops), kql='docker.diskio.write.ops: *')

These are the key metrics displayed for Kubernetes (containerd) containers.

Note The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Generally available since 9.3 This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

For Kubernetes container metrics, the Infrastructure UI and inventory rules only support metric data collected by the Kubernetes integration. If you're using Elastic OpenTelemetry and these views appear empty, refer to Kubernetes Pods and Docker Containers views empty when using Elastic OpenTelemetry.

Stack 9.3+

The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.

Availability

  • Generally available since 9.3

    This functionality is generally available and ready for production usage.

Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

Filter event.module : "kubernetes" Used to filter relevant data.
Identifier container.id Used to identify each entity.
Display value container.name Used as a display friendly value.
Metric Description
CPU Usage (%) Average CPU for the container.

Field Calculation: average(kubernetes.container.cpu.usage.limit.pct)
Metric Description
Memory Usage (%) Average memory usage for the container.

Field Calculation: average(kubernetes.container.memory.usage.limit.pct)