From 426c05db533043d205e92a6d68b622ffb0713c99 Mon Sep 17 00:00:00 2001 From: Xe Date: Thu, 29 Dec 2022 11:31:26 -0500 Subject: [PATCH] add akko Signed-off-by: Xe --- hosts/chrysalis/prometheus.nix | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/hosts/chrysalis/prometheus.nix b/hosts/chrysalis/prometheus.nix index 2a841a2..0b3b493 100644 --- a/hosts/chrysalis/prometheus.nix +++ b/hosts/chrysalis/prometheus.nix @@ -38,6 +38,26 @@ static_configs = [{ targets = [ "lufta:23818" ]; }]; } + # xedn + { + job_name = "xedn"; + metrics_path = "/debug/varz"; + static_configs = [ + { + targets = [ "xedn-fra:80" ]; + labels.region = "fra"; + } + { + targets = [ "xedn-sea:80" ]; + labels.region = "sea"; + } + { + targets = [ "xedn-yyz:80" ]; + labels.region = "yyz"; + } + ]; + } + # computers { job_name = "chrysalis"; @@ -76,17 +96,13 @@ static_configs = [{ targets = [ "pneuma:9100" ]; }]; } { - job_name = "akkoma"; - scheme = "https"; - metrics_path = "/api/pleroma/app_metrics"; - static_configs = [{ targets = [ "akko.within.website" ]; }]; + job_name = "akko"; + static_configs = [{ targets = [ "akko:9100" ]; }]; } ]; exporters = { - node = { - enable = true; - }; + node = { enable = true; }; wireguard.enable = true; }; };