aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/prometheus/runit/run1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/prometheus/runit/run b/templates/prometheus/runit/run
index f70f1ae..cf9ad65 100644
--- a/templates/prometheus/runit/run
+++ b/templates/prometheus/runit/run
@@ -2,4 +2,5 @@
exec {{prometheus_home_dir}}/prometheus/prometheus \
--config.file "{{prometheus_home_dir}}/conf/prometheus.yml" \
--storage.tsdb.path "{{prometheus_data_dir}}" \
+ --storage.tsdb.retention.time "{{prometheus_retention_time}}" \
--web.listen-address "{{prometheus_ui_listen}}"