From 816062b07d458102fcfa7eaf6fe5f5121840a67d Mon Sep 17 00:00:00 2001 From: Till-JS <101404291+Till-JS@users.noreply.github.com> Date: Sun, 1 Feb 2026 12:40:33 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(monitoring):=20adjust=20node?= =?UTF-8?q?-exporter=20config=20for=20macOS=20Docker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove rslave mount that doesn't work on macOS - Use selective collectors instead of defaults - Note: This monitors the Docker VM metrics, not host Mac Co-Authored-By: Claude Opus 4.5 --- docker-compose.macmini.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docker-compose.macmini.yml b/docker-compose.macmini.yml index fdcc4ca5a..2037bed3d 100644 --- a/docker-compose.macmini.yml +++ b/docker-compose.macmini.yml @@ -1241,11 +1241,18 @@ services: image: prom/node-exporter:v1.7.0 container_name: mana-mon-node-exporter restart: always + # macOS Docker runs in a Linux VM, so we can only monitor the VM's metrics + # For full host metrics on macOS, install node_exporter natively command: - - '--path.rootfs=/host' + - '--collector.disable-defaults' + - '--collector.cpu' + - '--collector.meminfo' + - '--collector.loadavg' + - '--collector.filesystem' + - '--collector.netdev' + - '--collector.time' + - '--collector.uname' - '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)' - volumes: - - '/:/host:ro,rslave' ports: - "9100:9100" healthcheck: