summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-04-06 13:09:13 +0200
committerRory& <root@rory.gay>2024-06-05 17:25:16 +0200
commitc48a48a6e966aa3b06272b64c8bcc6b55512778b (patch)
tree8d0b3ae64c80f56c9dd56b1aa6a302e6e4806a82
parentFix grafana datasources and dashboards (diff)
downloadSpacebar-Open-Infrastructure-c48a48a6e966aa3b06272b64c8bcc6b55512778b.tar.xz
Fix prometheus args
-rwxr-xr-xhost/Spacebar-monitoring/configuration.nix16
1 files 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 = [