Skip to content

Conversation

bboreham
Copy link
Contributor

Currently, CPU metrics for Kubelet, Containerd, etc. are dropped by a relabel rule since they don't have a container image.

On most systems they run in their own cgroup called system.slice, so we can add another rule which uses that fact to give the image label a value and then they won't be dropped.

Same change was made here a while back: grafana/agent#4048

Currently, CPU metrics for Kubelet, Containerd, etc. are dropped by a
relabel rule since they don't have a container image.

On most systems they run in their own cgroup called `system.slice`, so
we can add another rule which uses that fact to give the `image` label a
value and then they won't be dropped.
@bboreham bboreham force-pushed the system-slice-metrics branch from 8c9653b to aeba5f5 Compare May 21, 2025 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant