diff --git a/services/grafana/default.nix b/services/grafana/default.nix index c9f73d0..eb7e1c7 100644 --- a/services/grafana/default.nix +++ b/services/grafana/default.nix @@ -75,6 +75,16 @@ in enable = true; port = 9001; scrapeConfigs = [ + { + job_name = "kuma"; + scrape_interval = "30s"; + scheme = "http"; + static_configs = [{ + targets = [ "192.168.1.90:3001" ]; + }]; + basic_auth.username = "tbarnouin"; + basic_auth.password_file = "/run/secrets/grafana/kuma_token"; + } { job_name = "grafana"; static_configs = [{