summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/shack/prometheus/server.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-09-02 15:31:30 +0200
committermakefu <github@syntax-fehler.de>2019-09-02 15:31:30 +0200
commit6d7fe1f11554e8d123c01f1545456b15daa6a26a (patch)
tree65c12a51b2176877aed6197fd961ca088293f47e /krebs/2configs/shack/prometheus/server.nix
parente4c836b9c4901f99fe870dae8c338dbe648494ac (diff)
shack/prometheus/server: lower retention time due to space limitation
Diffstat (limited to 'krebs/2configs/shack/prometheus/server.nix')
-rw-r--r--krebs/2configs/shack/prometheus/server.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/2configs/shack/prometheus/server.nix b/krebs/2configs/shack/prometheus/server.nix
index 93af88fad..12f757e89 100644
--- a/krebs/2configs/shack/prometheus/server.nix
+++ b/krebs/2configs/shack/prometheus/server.nix
@@ -19,7 +19,7 @@
prometheus = {
enable = true;
extraFlags = [
- "-storage.local.retention 8760h"
+ "-storage.local.retention 720h"
"-storage.local.series-file-shrink-ratio 0.3"
"-storage.local.memory-chunks 2097152"
"-storage.local.max-chunks-to-persist 1048576"