Skip to content

Commit 4e4651a

Browse files
committed
docker_compose: node-exporter-dashboard: use new path.rootfs option
Signed-off-by: Eduardo Silva <[email protected]>
1 parent 320723e commit 4e4651a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docker_compose/node-exporter-dashboard/docker-compose.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@ services:
44
fluentbit:
55
image: fluent/fluent-bit:latest
66
container_name: fluentbit
7-
command: /fluent-bit/bin/fluent-bit -i node_exporter_metrics -p path.procfs=/host/proc -p path.sysfs=/host/sys -o prometheus_exporter -p "add_label=host fluentbit" -f 1
7+
command: /fluent-bit/bin/fluent-bit -i node_exporter_metrics -p path.rootfs=/host -o prometheus_exporter -p "add_label=host fluentbit" -f 1
88
ports:
99
- 2021:2021
1010
networks:
1111
- exporter-network
1212
volumes:
13-
- /proc:/host/proc
14-
- /sys:/host/sys
13+
- /:/host:ro
1514

1615
grafana:
1716
image: grafana/grafana:latest

0 commit comments

Comments
 (0)