Minor fixes in the Prometheus/Grafana/Loki post
This commit is contained in:
parent
23c181ee72
commit
7a9141064c
|
@ -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}" ];
|
||||
];
|
||||
}];
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue