Commit db1e771b authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Reubica a directorio con permisos, añade exclude

parent d561d30d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
PORT=9100
CONFIG_PATH=/etc/node-exporter
CONFIG_PATH=/home
HOST_PATH=/rootfs
MOUNT_POINTS_EXCLUDE=sys|proc|dev|etc|boot|tmp|run|.*/docker/containers
DEVICE_EXCLUDE=/rootfs/root/run/udev/data
+1 −1
Original line number Diff line number Diff line
@@ -8,9 +8,9 @@ services:
      - --path.rootfs=${HOST_PATH}
      - --path.sysfs=${HOST_PATH}/sys
      - --path.procfs=${HOST_PATH}/proc
      - --path.udev.data=${HOST_PATH}/root/run/udev/data
      - --collector.textfile.directory=${CONFIG_PATH}
      - --collector.filesystem.mount-points-exclude=^/(${MOUNT_POINTS_EXCLUDE})($$|/)
      - --collector.diskstats.device-exclude=^(${DEVICE_EXCLUDE})$$
      - --no-collector.ipvs
      - --no-collector.hwmon
    environment: