Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

puppet: Increase prometheus storage, from the default 15d.

Alex Vandiver27881babab10
diff --git a/puppet/zulip_ops/files/supervisor/conf.d/prometheus.conf b/puppet/zulip_ops/files/supervisor/conf.d/prometheus.conf
index ea2b704367d..8af5cafdf32 100644
--- a/puppet/zulip_ops/files/supervisor/conf.d/prometheus.conf
+++ b/puppet/zulip_ops/files/supervisor/conf.d/prometheus.conf
@@ -1,5 +1,5 @@
[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"
+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