fix(gerrit): setup Alloy & Pyroscope more according to the docs

Still not working due to "unimplemented: error 404 not found" at push
time, but it's really unclear now why this occur.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
raito 2024-08-24 08:45:20 +02:00
parent 4f4a25a5ad
commit 2544adba8e
2 changed files with 2 additions and 2 deletions

View file

@ -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"
}
}
}

View file

@ -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;
};