From 4d82dba8e2ce90364cb899a293c75ba37cbb791f Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Tue, 27 Aug 2019 22:42:23 -0400 Subject: Set a default retention time --- templates/prometheus/runit/run | 1 + 1 file changed, 1 insertion(+) (limited to 'templates') 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}}" -- cgit v1.2.3