prometheus: update retention time flag for 3.0
Martin Weinelt committed
May 23, 2025 at 05:00 UTC
b24daaa1846b69ec40b9ef417805f7dff581c2bd
1 file changed
+1
-1
build/pluto/prometheus/default.nix
+1
-1
@@ -35,7 +35,7 @@
35
services.prometheus = {
36
enable = true;
37
extraFlags = [
38
- "--storage.tsdb.retention=${toString (720 * 24)}h"
38
+ "--storage.tsdb.retention.time=${toString (720 * 24)}h"
39
"--web.external-url=https://prometheus.nixos.org/"
40
];
41
globalConfig.scrape_interval = "15s";