Hi there!
I’m developing an addon for monitoring your home assistant box using Grafana and Prometheus; part of this is installing things like node-exporter and cAdvisor to collect all the metrics about the host. And part of that is needing access to the hosts /proc and /sys filesystems - is there a way to mount them into the add on container?
Cheers
Tom
- I’ve seen an existing add on for node exporter (hassos-addons/prometheus_node_exporter at 705aeaa4c48b619da286ba8802c4e8d8b6c56254 · loganmarchione/hassos-addons · GitHub) that doesn’t get /proc and /sys access, and the problem is this leads to a bunch of miss-reported metrics, not least the hostname. And no, using the host PID namespace doesn’t fix this.