1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

prometheus: decrease log size

This commit is contained in:
2025-08-07 10:13:54 +02:00
parent 6e0026ed5c
commit 00dfe27738

View File

@@ -364,6 +364,12 @@ in
# otherwise bearer_token_file will fail
services.prometheus.checkConfig = "syntax-only";
services.prometheus.extraFlags = [
"--storage.tsdb.retention.time=7d"
"--storage.tsdb.retention.size=2GB"
"--storage.tsdb.wal-compression"
];
services.prometheus.scrapeConfigs = [
{
job_name = "makanek";