Add cAdvisor prometheus exporter

This commit is contained in:
Théo Barnouin 2024-10-18 15:52:52 +02:00
parent 8b1002aef3
commit d5afa3aad6

View file

@ -86,11 +86,17 @@ in
basic_auth.password_file = "/run/secrets/grafana/kuma_token"; basic_auth.password_file = "/run/secrets/grafana/kuma_token";
} }
{ {
job_name = "grafana"; job_name = "cadvisor";
static_configs = [{ static_configs = [{
targets = [ "127.0.0.1:9002" ]; targets = [ "127.0.0.1:9002" ];
}]; }];
} }
{
job_name = "grafana";
static_configs = [{
targets = [ "192.168.1.125:8080" ];
}];
}
{ {
job_name = "nginx"; job_name = "nginx";
static_configs = [{ static_configs = [{