[修改]prometheus的confd模板修改
This commit is contained in:
@@ -11,7 +11,7 @@ stderr_logfile=/var/log/confd.err.log
|
||||
stdout_logfile=/var/log/confd.out.log
|
||||
|
||||
[program:prometheus]
|
||||
command=/usr/local/bin/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.retention.time={{ getv "/time/storage_interval" ~ getv "/time/storage_interval_unit" }}
|
||||
command=/usr/local/bin/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.retention.time={{ getv "/time/storage_interval"}}{{ getv "/time/storage_interval_unit")}}
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stderr_logfile=/var/log/prometheus.err.log
|
||||
|
||||
Reference in New Issue
Block a user