diff --git a/hosts/akko/akkoma.nix b/hosts/akko/akkoma.nix index 307a9c9..8ecea3a 100644 --- a/hosts/akko/akkoma.nix +++ b/hosts/akko/akkoma.nix @@ -13,7 +13,6 @@ in { }; ":pleroma"."Pleroma.Web.Endpoint.MetricsExporter" = { enabled = true; - auth = false; format = mkRaw ":text"; path = "/api/pleroma/app_metrics"; }; diff --git a/hosts/chrysalis/prometheus.nix b/hosts/chrysalis/prometheus.nix index ae2c451..53b9be7 100644 --- a/hosts/chrysalis/prometheus.nix +++ b/hosts/chrysalis/prometheus.nix @@ -78,6 +78,12 @@ job_name = "pneuma"; static_configs = [{ targets = [ "pneuma:9100" ]; }]; } + { + job_name = "akkoma"; + scheme = "https"; + metrics_path = "/api/pleroma/app_metrics"; + static_configs = [{ targets = [ "akko.within.website" ]; }]; + } ]; exporters = {