feat: Add text file collector on prometheus node exporter

This commit is contained in:
Simon 2021-05-04 16:11:05 +02:00
parent a88a20b43c
commit b7271981d1
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ services:
image: ${NODE_EXPORTER_IMAGE:-quay.io/prometheus/node-exporter:v1.1.2}
container_name: node_exporter
command:
- '--path.rootfs=/host'
- '--path.rootfs=/host --collector.textfile.directory=/host/var/lib/node_exporter/textfile_collector'
network_mode: host
pid: host
restart: unless-stopped