From 1fc15526d77a396ee9d3316c73079479b59d6959 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 24 Aug 2024 10:33:49 +0200 Subject: [PATCH] fix(pyroscope): add the gRPC endpoint as proxy as well This is not documented but necessary for Alloy to operate. Signed-off-by: Raito Bezarius --- services/monitoring/pyroscope/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/monitoring/pyroscope/default.nix b/services/monitoring/pyroscope/default.nix index 3521fc4..00c79ee 100644 --- a/services/monitoring/pyroscope/default.nix +++ b/services/monitoring/pyroscope/default.nix @@ -29,6 +29,10 @@ in proxyPass = "http://pyroscope"; basicAuthFile = config.age.secrets.metrics-push-htpasswd.path; }; + locations."/push.v1.PusherService/Push" = { + proxyPass = "http://pyroscope"; + basicAuthFile = config.age.secrets.metrics-push-htpasswd.path; + }; }; }; services.pyroscope = {