Skip to content

Scrape_configs: retain cAdvisor metrics for system processes#1443

Open
bboreham wants to merge 2 commits into
masterfrom
system-slice-metrics
Open

Scrape_configs: retain cAdvisor metrics for system processes#1443
bboreham wants to merge 2 commits into
masterfrom
system-slice-metrics

Conversation

@bboreham

Copy link
Copy Markdown
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
@cla-assistant

cla-assistant Bot commented Mar 18, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

2 participants