Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cadvisor redundantly gathering docker stats on ubuntu 16.04 #1495

Closed
rhuddleston opened this issue Oct 10, 2016 · 2 comments
Closed

cadvisor redundantly gathering docker stats on ubuntu 16.04 #1495

rhuddleston opened this issue Oct 10, 2016 · 2 comments

Comments

@rhuddleston
Copy link

See attached file. Basically cadvisor is gathering stats about the same container twice:

container_cpu_system_seconds_total{id="/docker/dfae05cccdaa4c7b38c0f19cbe8b13674474f81bc2454956dfa08b04464a2115",image="google/cadvisor:v0.24.0",name="cadvisor"} 243.51
container_cpu_system_seconds_total{id="/system.slice/var-lib-docker-containers-dfae05cccdaa4c7b38c0f19cbe8b13674474f81bc2454956dfa08b04464a2115-shm.mount",image="google/cadvisor:v0.24.0",name="cadvisor"} 0

The /system.slice/var-lib-docker-containers-<container_id>-shm.mount version either is always 0 or exactly the same as the other version of the same stat with id "/docker/<container_id>"

The examples where it's exactly the same:

container_fs_usage_bytes
container_last_seen
container_network_*
container_spec_cpu_*
container_start_time_seconds

These ones always return 0 for the shm.mount version:
container_cpu_*
container_memory_*

Can we either automatically ignore the redundant shm.mount version and add some way to filter these out so I'm not storing unneeded timeseries data in prometheus.
cadvisor.txt

@dashpole
Copy link
Collaborator

The fix for #1572, which is #1573 is in v0.25.0. Can you confirm that your issue is solved with the new version?

@dashpole dashpole self-assigned this Mar 17, 2017
@dashpole
Copy link
Collaborator

dashpole commented Jun 6, 2017

closing until we see if this is reproducible on the newest version

@dashpole dashpole closed this as completed Jun 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants