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 <masterancpp@gmail.com>
This commit is contained in:
raito 2024-08-24 10:33:49 +02:00
parent 2544adba8e
commit 1fc15526d7

View file

@ -29,6 +29,10 @@ in
proxyPass = "http://pyroscope"; proxyPass = "http://pyroscope";
basicAuthFile = config.age.secrets.metrics-push-htpasswd.path; 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 = { services.pyroscope = {