Commit 6c7a739f authored by Your Name's avatar Your Name

update to monitor-smi:v.0.0.9

parent a1656626
......@@ -2,7 +2,7 @@ version: "3.9"
services:
monitorSmi:
image: docker.ai.17xuexi.com/monitorapi/monitor-smi:v.0.0.8
image: docker.ai.17xuexi.com/monitorapi/monitor-smi:v.0.0.9
network_mode: host
volumes:
- /proc:/host/proc:ro
......
......@@ -15,4 +15,5 @@ COPY ./test/prometheus /usr/local/bin/prometheus
COPY ./prometheus.yml /prometheus/prometheus.yml
# ENTRYPOINT ["/usr/bin/gpuhw-smi"]
ENTRYPOINT ["/usr/bin/supervisord"]
\ No newline at end of file
ENTRYPOINT ["/usr/bin/supervisord"]
global:
scrape_interval: 300ms
evaluation_interval: 300ms
scrape_interval: 1s
evaluation_interval: 1s
scrape_configs:
- job_name: prometheus
......
......@@ -20,7 +20,7 @@ redirect_stderr=true
[program:gpuhw-smi]
command=sh -c 'usr/bin/gpuhw-smi'
command=sh -c '/usr/bin/gpuhw-smi'
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