Skip to content

Commit 1261d18

Browse files
committed
prometheus: increase retention duration to 2y
With the move to pluto the setup is now benefitting from ZSTD compression yielding a compression factor of 2.14x, bringing our data down from 75GB to a mere 35GB. We also doubled the disk size to 512GB, so spending ~150GB on metrics is not only feasible, but will allows us to compare performance metrics over longer intervals.
1 parent 1bceeb7 commit 1261d18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

delft/pluto/prometheus/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
services.prometheus = {
4242
enable = true;
4343
extraFlags = [
44-
"--storage.tsdb.retention=${toString (150 * 24)}h"
44+
"--storage.tsdb.retention=${toString (720 * 24)}h"
4545
"--web.external-url=https://prometheus.nixos.org/"
4646
];
4747
globalConfig.scrape_interval = "15s";

0 commit comments

Comments
 (0)