diff --git a/services/gerrit/default.nix b/services/gerrit/default.nix index bea5e08..2075de5 100644 --- a/services/gerrit/default.nix +++ b/services/gerrit/default.nix @@ -79,7 +79,7 @@ in url = "https://pyroscope.forkos.org" basic_auth { username = "promtail" - password_file = "/run/credentials/password" + password_file = "/run/credentials/alloy.service/password" } } } diff --git a/services/monitoring/pyroscope/default.nix b/services/monitoring/pyroscope/default.nix index 84aa40d..3521fc4 100644 --- a/services/monitoring/pyroscope/default.nix +++ b/services/monitoring/pyroscope/default.nix @@ -25,7 +25,7 @@ in virtualHosts."pyroscope.forkos.org" = { enableACME = true; forceSSL = true; - locations."/api/v1/push" = { + locations."/ingest" = { proxyPass = "http://pyroscope"; basicAuthFile = config.age.secrets.metrics-push-htpasswd.path; };