From: Kai Moritz Date: Fri, 24 Feb 2023 21:37:22 +0000 (+0100) Subject: WIP X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=7a9823948848cedd013a8a3afccdfeeabdeb1de7;p=demos%2Fkafka%2Fmonitoring WIP --- diff --git a/prometheus.yml b/prometheus.yml index dbaccb2..9089bb2 100644 --- a/prometheus.yml +++ b/prometheus.yml @@ -25,7 +25,6 @@ scrape_configs: static_configs: - targets: ["localhost:9090"] - - job_name: "zookeeper" static_configs: - targets: @@ -39,7 +38,6 @@ scrape_configs: regex: '([^:]+)(:[0-9]+)?' replacement: '${1}' - - job_name: "kafka-broker" static_configs: - targets: @@ -53,3 +51,15 @@ scrape_configs: target_label: hostname regex: '([^:]+)(:[0-9]+)?' replacement: '${1}' + + - job_name: "burrow-exporter" + static_configs: + - targets: + - "burrow_exporter:8080" + labels: + env: "dev" + relabel_configs: + - source_labels: [__address__] + target_label: hostname + regex: '([^:]+)(:[0-9]+)?' + replacement: '${1}'