Add prometheus scraper for minecraft exporter

This commit is contained in:
Evie Litherland-Smith 2024-02-21 08:34:59 +00:00
parent 3804961963
commit d47fecb230

View file

@ -25,6 +25,10 @@
job_name = "legion";
static_configs = [{targets = ["127.0.0.1:${toString exporters.node.port}"];}];
}
{
job_name = "minecraft";
static_configs = [{targets = ["127.0.0.1:8000"];}];
}
];
};
services.caddy.virtualHosts."grafana.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:3000";