Has anyone set up Prometheus Monitoring for LXD? If so, what exporter do you recommend?
LXD provides metrics for all running instances. You can learn more about it here: https://documentation.ubuntu.com/lxd/en/latest/metrics/
Thank you for the link. Is there any way to have it run without a certificate though, so I can manually check the available metrics at ip:8443/metrics?
If you just want to look at them, you can do lxc query /1.0/metrics
, for accessing from prometheus, you’ll want to generate a TLS certificate, add that to the LXD trust store with --type=metrics
and then pass it on to prometheus to scrape LXD.