Add kuma prometheus exporter

This commit is contained in:
Théo Barnouin 2024-10-18 15:34:19 +02:00
parent 2d1a5be02a
commit 8b1002aef3

View file

@ -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 = [{