Minor fixes in the Prometheus/Grafana/Loki post

This commit is contained in:
Gleb Peregud 2020-11-27 16:09:04 +01:00 committed by GitHub
parent 23c181ee72
commit 7a9141064c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ an editor and add the following to it:
};
# nginx reverse proxy
services.nginx.virtualHosts.${services.grafana.domain} = {
services.nginx.virtualHosts.${config.services.grafana.domain} = {
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.grafana.port}";
proxyWebsockets = true;
@ -164,9 +164,9 @@ that points to the node exporter we configured just now:
scrapeConfigs = [
{
job_name = "chrysalis";
static_configs = [
static_configs = [{
targets = [ "127.0.0.1:${toString config.services.prometheus.exporters.node.port}" ];
];
}];
}
];