From 6da39c1ee7c112fd780a120a59cc3565b4ff1b1a Mon Sep 17 00:00:00 2001 From: RGBCube Date: Mon, 15 Jan 2024 11:33:27 +0300 Subject: [PATCH] Add orgId to prometheus config --- hosts/cube/prometheus.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/cube/prometheus.nix b/hosts/cube/prometheus.nix index c510f5e..851e843 100644 --- a/hosts/cube/prometheus.nix +++ b/hosts/cube/prometheus.nix @@ -6,10 +6,13 @@ serverSystemConfiguration { name = "Prometheus"; type = "prometheus"; url = "http://[::]:${toString config.services.prometheus.port}"; + + orgId = 1; }]; deleteDatasources = [{ - name = "Prometheus"; + name = "Prometheus"; + orgId = 1; }]; };