From a99d4534c62330c6eece1508347006f82ebfda6a Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 22 Oct 2023 21:50:12 +0200 Subject: [PATCH] increate prometheus retention time --- nomad-job/prometheus.nomad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nomad-job/prometheus.nomad b/nomad-job/prometheus.nomad index de181e6..43120fa 100644 --- a/nomad-job/prometheus.nomad +++ b/nomad-job/prometheus.nomad @@ -243,7 +243,7 @@ EOH args = [ "--config.file=/etc/prometheus/prometheus.yml", "--storage.tsdb.path=/prometheus", - "--storage.tsdb.retention.time=15d", + "--storage.tsdb.retention.time=1m", ] volumes = [ "local/nomad-alert-rules.yml:/etc/prometheus/nomad-alert-rules.yml",