For containers, there are these “lxc.payload.container_name” directories where the Netdata reads the information from. For VMs I do not know where they exist - if at all they exist.
That person said he’s using Proxmox VMs and he could see the VM metrics but they are grouped together, how to ungroup them is the question he had.
However, if Proxmox VMs are visible, then LXD VM should be visible too, as LXD also uses QEMU for creating the VMs. That’s what I so far know. Please add to it anything you know, or correct me if I said something wrong.
Anyways, thank you for looking into this!! Much appreciated!
What I mean is why I’m not seeing anything related to LXD VMs in cgroup information? Some people see even the qemu metrics in netdata. But even when LXD uses qemu why am I not able to see them in Netdata? That’s out of your hands I think. But where do the VM cgroups reside?
I dont know anything about Netdata I’m afraid.
But you’d not likely get much info out of a cgroup that just wrapped a qemu process (maybe CPU and memory usage of the process itself).
Does netdata have support for scarping openmetrics endpoints?
I think pointing Netdata Prometheus collector at the metrics endpoint should for sure be an easy way to pull the metrics from the metrics endpoint into Netdata
I need to learn a bit more about LXD VM’s and how may or may not be different than normal VM’s but just wanted to mention the /metrics approach as one potential quick solution.