From 705389cb6932f67f216c210492a8acc2af89d780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Thu, 16 Jun 2022 14:56:58 +0200 Subject: [PATCH] prometheus: Scrape keycloak References: https://todo.xenrox.net/~xenrox/infrastructure/3 --- roles/prometheus/templates/prometheus.yml.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/prometheus/templates/prometheus.yml.j2 b/roles/prometheus/templates/prometheus.yml.j2 index 24a3c40..67b6a79 100644 --- a/roles/prometheus/templates/prometheus.yml.j2 +++ b/roles/prometheus/templates/prometheus.yml.j2 @@ -40,3 +40,9 @@ scrape_configs: scheme: https static_configs: - targets: ['minio.xenrox.net'] + + - job_name: "keycloak" + metrics_path: /auth/realms/master/metrics + scheme: https + static_configs: + - targets: ["keycloak.xenrox.net"] -- 2.44.0