From 1c07fbec8f775d22a7fd2ddc1e0b6a95ffdab3c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Fri, 13 Oct 2023 03:43:03 +0200 Subject: [PATCH] metrics: Add size limit to victoriametrics --- configuration/services/metrics/victoriametrics.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configuration/services/metrics/victoriametrics.nix b/configuration/services/metrics/victoriametrics.nix index a5149f7..4cdc770 100644 --- a/configuration/services/metrics/victoriametrics.nix +++ b/configuration/services/metrics/victoriametrics.nix @@ -1,6 +1,9 @@ {config, ...}: { config.services.victoriametrics = { enable = true; + extraOptions = [ + "-storage.minFreeDiskSpaceBytes=5GB" + ]; scrapeConfigs = { gitea = {