From 527a8ff981c2d57c8a976534bf32e3e6735ed9a4 Mon Sep 17 00:00:00 2001 From: Philipp Glaum Date: Fri, 21 Jul 2023 11:13:52 +0200 Subject: [PATCH] add drone scrape config to prometheus --- prometheus.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/prometheus.yaml b/prometheus.yaml index 92139a8..24f2794 100644 --- a/prometheus.yaml +++ b/prometheus.yaml @@ -7,6 +7,14 @@ scrape_configs: static_configs: - targets: - "traefik:8080" + - job_name: 'drone' + metrics_path: /metrics + static_configs: + - targets: + - "drone:80" + authorization: + type: Bearer + credentials: '${DRONE_API_KEY}' # - job_name: node_exporter # static_configs: # - targets: