Commit aeba5f5
committed
Scrape_configs: retain cAdvisor metrics for system processes
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.1 parent 254dfb6 commit aeba5f5
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
258 | 266 | | |
259 | 267 | | |
260 | 268 | | |
| |||
0 commit comments