Fix config error

This commit is contained in:
Théo Barnouin 2024-10-18 16:06:42 +02:00
parent d5afa3aad6
commit af3d237b93

View file

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