From 4db937a4d0c89374f6771e4302d20a8c7a9e0d3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=A4der?= Date: Mon, 26 Oct 2020 15:43:51 +0100 Subject: [PATCH] Add grafana to prometheus monitoring --- Monitoring.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Monitoring.md b/Monitoring.md index 2acde74..f95ff2c 100644 --- a/Monitoring.md +++ b/Monitoring.md @@ -76,6 +76,7 @@ services: GF_SECURITY_ADMIN_USER: admin GF_SECURITY_ADMIN_PASSWORD: admin GF_SECURITY_SECRET_KEY: oew5RCBGGBba0MdsEKrj + GF_METRICS_ENABLED: 'true' ports: - '3000:3000' volumes: @@ -114,6 +115,10 @@ scrape_configs: - job_name: redis static_configs: - targets: ['redis-worker-exporter:9121', 'redis-cache-exporter:9121'] + +- job_name: grafana + static_configs: + - targets: ['grafana:3000'] ``` Then run `docker-compose up`.