From 116d965f06368963f2dc931cf65746dc97bd28bf Mon Sep 17 00:00:00 2001
From: Hannes Feldt <feldt@astron.nl>
Date: Mon, 4 Dec 2023 08:41:38 +0000
Subject: [PATCH] L2SS-1640: Increase prometheus retention

---
 README.md                                  | 1 +
 infra/jobs/station/monitoring.levant.nomad | 3 ++-
 tangostationcontrol/VERSION                | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 432d50677..274b94271 100644
--- a/README.md
+++ b/README.md
@@ -139,6 +139,7 @@ Next change the version in the following places:
 
 # Release Notes
 
+* 0.25.2 Increase prometheus retention time
 * 0.25.1 Add `RCU_DTH_setup` command in RECV devices
 * 0.25.0 Pull IERS tables from object store
 * 0.24.8 Push docker images to own registry and pull from there for deployments
diff --git a/infra/jobs/station/monitoring.levant.nomad b/infra/jobs/station/monitoring.levant.nomad
index a9030b057..1f6300ce0 100644
--- a/infra/jobs/station/monitoring.levant.nomad
+++ b/infra/jobs/station/monitoring.levant.nomad
@@ -241,7 +241,8 @@ localhost:5432:grafana:postgres:password
         ports = ["prometheus"]
         args  = [
           "--config.file=/etc/prometheus/prometheus.yml",
-          "--web.enable-remote-write-receiver"
+          "--web.enable-remote-write-receiver",
+          "--storage.tsdb.retention.time=10y"
         ]
         mount {
           type   = "bind"
diff --git a/tangostationcontrol/VERSION b/tangostationcontrol/VERSION
index af2dabf3f..166c9e29b 100644
--- a/tangostationcontrol/VERSION
+++ b/tangostationcontrol/VERSION
@@ -1 +1 @@
-0.25.1
+0.25.2
-- 
GitLab