forked from the-distro/infra
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:
parent
4f4a25a5ad
commit
2544adba8e
|
@ -79,7 +79,7 @@ in
|
||||||
url = "https://pyroscope.forkos.org"
|
url = "https://pyroscope.forkos.org"
|
||||||
basic_auth {
|
basic_auth {
|
||||||
username = "promtail"
|
username = "promtail"
|
||||||
password_file = "/run/credentials/password"
|
password_file = "/run/credentials/alloy.service/password"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,7 @@ in
|
||||||
virtualHosts."pyroscope.forkos.org" = {
|
virtualHosts."pyroscope.forkos.org" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/api/v1/push" = {
|
locations."/ingest" = {
|
||||||
proxyPass = "http://pyroscope";
|
proxyPass = "http://pyroscope";
|
||||||
basicAuthFile = config.age.secrets.metrics-push-htpasswd.path;
|
basicAuthFile = config.age.secrets.metrics-push-htpasswd.path;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue