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

Exclude metric collection of certain cgroup groupnames #2048

Open
chicofranchico opened this issue Sep 20, 2018 · 1 comment
Open

Exclude metric collection of certain cgroup groupnames #2048

chicofranchico opened this issue Sep 20, 2018 · 1 comment

Comments

@chicofranchico
Copy link

On a certain machine I have different cgroup group names e.g.:

/sys/fs/cgroup/memory
/sys/fs/cgroup/memory/user
/sys/fs/cgroup/memory/mesos
/sys/fs/cgroup/memory/docker

Is there a way to collect only the docker group? I would like to avoid the collection of mesos for example.

Thanks in advance.

@dashpole
Copy link
Collaborator

dashpole commented Oct 4, 2018

We recently added a "prefix whitelist": #1926, but don't expose it through flags, and just use /. We could add a flag to set this in cAdvisor.
Alternatively, we could allow setting the handlers that are enabled. I.E. collecting only from certain runtimes.

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