mirror of
https://github.com/kmein/niveum
synced 2026-03-21 12:21:08 +01:00
prometheus: decrease log size
This commit is contained in:
@@ -364,6 +364,12 @@ in
|
|||||||
# otherwise bearer_token_file will fail
|
# otherwise bearer_token_file will fail
|
||||||
services.prometheus.checkConfig = "syntax-only";
|
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 = [
|
services.prometheus.scrapeConfigs = [
|
||||||
{
|
{
|
||||||
job_name = "makanek";
|
job_name = "makanek";
|
||||||
|
|||||||
Reference in New Issue
Block a user