feat: Add text file collector on prometheus node exporter
This commit is contained in:
parent
a88a20b43c
commit
b7271981d1
|
@ -6,7 +6,7 @@ services:
|
||||||
image: ${NODE_EXPORTER_IMAGE:-quay.io/prometheus/node-exporter:v1.1.2}
|
image: ${NODE_EXPORTER_IMAGE:-quay.io/prometheus/node-exporter:v1.1.2}
|
||||||
container_name: node_exporter
|
container_name: node_exporter
|
||||||
command:
|
command:
|
||||||
- '--path.rootfs=/host'
|
- '--path.rootfs=/host --collector.textfile.directory=/host/var/lib/node_exporter/textfile_collector'
|
||||||
network_mode: host
|
network_mode: host
|
||||||
pid: host
|
pid: host
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
Loading…
Reference in New Issue