From d5afa3aad62f8d1cdf9a5c15395063cef2957956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Barnouin?= Date: Fri, 18 Oct 2024 15:52:52 +0200 Subject: [PATCH] Add cAdvisor prometheus exporter --- services/grafana/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/services/grafana/default.nix b/services/grafana/default.nix index eb7e1c7..5b107ca 100644 --- a/services/grafana/default.nix +++ b/services/grafana/default.nix @@ -86,11 +86,17 @@ in basic_auth.password_file = "/run/secrets/grafana/kuma_token"; } { - job_name = "grafana"; + job_name = "cadvisor"; static_configs = [{ targets = [ "127.0.0.1:9002" ]; }]; } + { + job_name = "grafana"; + static_configs = [{ + targets = [ "192.168.1.125:8080" ]; + }]; + } { job_name = "nginx"; static_configs = [{