From 8667e2dc6e26a5586d2ba6d3625dadfe99bb0ee9 Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Wed, 13 Apr 2022 07:39:42 +0200 Subject: [PATCH] L2SS-758: Tune retention, enable admin API to allow snapshots --- docker-compose/prometheus/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose/prometheus/Dockerfile b/docker-compose/prometheus/Dockerfile index ad8e5165b..ed4c142db 100644 --- a/docker-compose/prometheus/Dockerfile +++ b/docker-compose/prometheus/Dockerfile @@ -2,4 +2,4 @@ FROM prom/prometheus COPY prometheus.yml /etc/prometheus/prometheus.yml -CMD ["--config.file=/etc/prometheus/prometheus.yml", "--storage.tsdb.path=/prometheus", "--web.console.libraries=/usr/share/prometheus/console_libraries", "--web.console.templates=/usr/share/prometheus/consoles", "--storage.tsdb.retention.time=31d"] +CMD ["--config.file=/etc/prometheus/prometheus.yml", "--storage.tsdb.path=/prometheus", "--web.console.libraries=/usr/share/prometheus/console_libraries", "--web.console.templates=/usr/share/prometheus/consoles", "--storage.tsdb.retention.time=5y", "--storage.tsdb.retention.size=500GB", "--web.enable-admin-api"] -- GitLab