opentelemetry_semantic_conventions::metric

Constant CONTAINER_CPU_USAGE

Source
pub const CONTAINER_CPU_USAGE: &str = "container.cpu.usage";
Expand description

§Description

Container’s CPU usage, measured in cpus. Range from 0 to the number of allocatable CPUs

§Notes

CPU usage of the specific container on all available CPU cores, averaged over the sample window

§Metadata

Instrument:gauge
Unit:{cpu}
Status:Experimental

§Attributes

NameRequirement
crate::attribute::CPU_MODEConditionally_required: Required if mode is available, i.e. metrics coming from the Docker Stats API.