From c48a48a6e966aa3b06272b64c8bcc6b55512778b Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Thu, 6 Apr 2023 13:09:13 +0200 Subject: Fix prometheus args --- host/Spacebar-monitoring/configuration.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/host/Spacebar-monitoring/configuration.nix b/host/Spacebar-monitoring/configuration.nix index 78c5bc9..88a643f 100755 --- a/host/Spacebar-monitoring/configuration.nix +++ b/host/Spacebar-monitoring/configuration.nix @@ -23,14 +23,14 @@ enable = true; stateDir = "prometheus"; extraFlags = [ - "-storage.local.retention 8760h" - "-storage.local.series-file-shrink-ratio 0.3" - "-storage.local.memory-chunks 2097152" - "-storage.local.max-chunks-to-persist 1048576" - "-storage.local.index-cache-size.fingerprint-to-metric 2097152" - "-storage.local.index-cache-size.fingerprint-to-timerange 1048576" - "-storage.local.index-cache-size.label-name-to-label-values 2097152" - "-storage.local.index-cache-size.label-pair-to-fingerprints 41943040" + "--storage.local.retention 8760h" + "--storage.local.series-file-shrink-ratio 0.3" + "--storage.local.memory-chunks 2097152" + "--storage.local.max-chunks-to-persist 1048576" + "--storage.local.index-cache-size.fingerprint-to-metric 2097152" + "--storage.local.index-cache-size.fingerprint-to-timerange 1048576" + "--storage.local.index-cache-size.label-name-to-label-values 2097152" + "--storage.local.index-cache-size.label-pair-to-fingerprints 41943040" ]; # alertmanagerURL = [ "http://localhost:9093" ]; # rules = [ -- cgit 1.4.1