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

containers option does not work with Linux containers #257

Open
hrexha28 opened this issue Jan 24, 2023 · 3 comments
Open

containers option does not work with Linux containers #257

hrexha28 opened this issue Jan 24, 2023 · 3 comments
Labels
enhancement New feature or request
Projects

Comments

@hrexha28
Copy link

          Hi,

I tried to use the --containers option with lxd containers but i get null in the container field for the json exorter.
Is there any way to get the linux container power number?
Thanks

Originally posted by @hrexha28 in #217 (comment)

@bpetit bpetit added this to Triage in General Jan 24, 2023
@mathieugp
Copy link

Coincidence: I just tried the same --containers flag with the prometheus exporter on an hypervisor running libvirt-lxc only docker related cgroups are found.

It would be really really great if the scaphandre exporters could find LXC-related cgroups (through lxc/lxd or in my case libvirt-lxc), otherwise the only option that I believe would work would be to treat each container as a VM and run scaphandre inside each one.

@bpetit bpetit moved this from Triage to To do in General Feb 8, 2023
@mathieugp
Copy link

@bpetit I can make myself available for testing new code concerning support for libvirt-lxc.

Also, as setting-up a test hypervisor running LXC containers through libvirt might be non-trivial, I can also share useful information about my machines and configurations.

@bpetit bpetit added this to the Release v1.1.0 milestone Jun 7, 2023
@bpetit bpetit added the enhancement New feature or request label Jun 7, 2023
@bpetit
Copy link
Contributor

bpetit commented Jun 7, 2023

related to #263

Adding it to 1.1 milestone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
General
To do
Development

No branches or pull requests

3 participants