zulip/puppet/zulip_ops/files/supervisor/conf.d/prometheus.conf

10 lines
363 B
Plaintext

[program:prometheus]
command=/srv/prometheus/prometheus --storage.tsdb.path="/var/lib/prometheus" --config.file="/etc/prometheus/prometheus.yaml" --web.listen-address="127.0.0.1:9090" --storage.tsdb.retention.time=1y
directory=/srv/prometheus
priority=10
autostart=true
autorestart=true
user=prometheus
redirect_stderr=true
stdout_logfile=/var/log/prometheus.log