WIP
authorKai Moritz <kai@juplo.de>
Fri, 24 Feb 2023 21:37:22 +0000 (22:37 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 24 Feb 2023 21:37:22 +0000 (22:37 +0100)
prometheus.yml

index dbaccb2..9089bb2 100644 (file)
@@ -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}'