Commit 8ad455a6 authored by Your Name's avatar Your Name

fix node cpu

parent 1088b134
......@@ -5,6 +5,10 @@ services:
image: monitor.multi:latest
ports:
- 9093:9090
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
deploy:
resources:
reservations:
......
......@@ -18,7 +18,7 @@ redirect_stderr=true
[program:node_exporter]
command=sh -c '/usr/local/bin/node_exporter'
command=sh -c '/usr/local/bin/node_exporter --path.procfs=/host/proc --path.rootfs=/rootfs --path.sysfs=/host/sys --collector.cpu.info'
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
redirect_stderr=true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment