infra-container_exporter
infra-container_exporter copied to clipboard
Container sends 0 values with systemd
Hello,
I'm using container-exporter to monitor docker containers on debian 8 which use systemd as init system Also I see system services such as sshd or mdadm. Example: ` container_memory_working_set_bytes{id="/system.slice/docker-3f7eba3c3b2a63c8bbba4f679ca2d2ba704b501890c112218dbdfaa66e2a8041.scope",name="admiring_newton"} 0
container_memory_working_set_bytes{id="/system.slice/docker-576a59ee026bf956a550cf1cd2beb42c1859a3ae44b110b5fbc504cf2127395d.scope",name="cadvisor"} 0 container_memory_working_set_bytes{id="/system.slice/docker-6fcea541f42e9de0778f5e543b145a0e9a845048fabc66829e045ddf276820b5.scope",name="graylog-web-ui"} 0
container_memory_working_set_bytes{id="/system.slice/docker-7b66c376e6db9bfd000fe750a9dd7c6f97b2a86b3eac852fb8aab3a970a4f37f.scope",name="sinopia"} 0 `
Hey,
You may want to see issue #1. For me this was resolved following the advice to pass in the argument of -parent system.slice
@wsimmonds Thank you for reply, now it shows me everything but memory usage
I have the same results as @ynnt - CPU figures coming back now that I've added -parent system.sice
but no memory related ones.