diff options
| author | unitexe <unitexe70@gmail.com> | 2026-01-23 23:06:53 -0600 |
|---|---|---|
| committer | unitexe <unitexe70@gmail.com> | 2026-01-23 23:06:53 -0600 |
| commit | 2fa3ee9c21b515d7f623da2073b077635628cd35 (patch) | |
| tree | 042a5812ee87f6f8ae0ea9c60a9fa730c37ab897 /meta-unit-core/dynamic-layers | |
| parent | dce6c9c63a8d120f728914afd9e0585d1f18c617 (diff) | |
Get as much info showing in grafana node exporter dashboard as possible
- Enable various collectors disabled by default
- Bind dbus socket to the location expected by the node exporter
- Provide exporter with correct path to procfs
Diffstat (limited to 'meta-unit-core/dynamic-layers')
| -rw-r--r-- | meta-unit-core/dynamic-layers/virtualization-layer/recipes-containers/prometheus-node-exporter/files/prometheus-node-exporter.container | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/meta-unit-core/dynamic-layers/virtualization-layer/recipes-containers/prometheus-node-exporter/files/prometheus-node-exporter.container b/meta-unit-core/dynamic-layers/virtualization-layer/recipes-containers/prometheus-node-exporter/files/prometheus-node-exporter.container index b2c9ae0..fd28b26 100644 --- a/meta-unit-core/dynamic-layers/virtualization-layer/recipes-containers/prometheus-node-exporter/files/prometheus-node-exporter.container +++ b/meta-unit-core/dynamic-layers/virtualization-layer/recipes-containers/prometheus-node-exporter/files/prometheus-node-exporter.container @@ -7,7 +7,15 @@ Image=quay.io/prometheus/node-exporter:latest Network=host PodmanArgs=--pid=host Volume=/:/host:ro,rslave -Exec=--path.rootfs=/host +Volume=/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket:ro +Exec=--path.rootfs=/host \ +--path.procfs=/host/proc \ +--collector.systemd \ +--collector.systemd.unit-include=".+" \ +--collector.processes \ +--collector.interrupts \ +--collector.interrupts.name-include=".+" \ +--collector.tcpstat [Service] Restart=on-failure |
