summaryrefslogtreecommitdiffstats
path: root/tools/performance/prometheus.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/performance/prometheus.yml')
-rw-r--r--tools/performance/prometheus.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/performance/prometheus.yml b/tools/performance/prometheus.yml
new file mode 100644
index 00000000..b9a937c2
--- /dev/null
+++ b/tools/performance/prometheus.yml
@@ -0,0 +1,14 @@
+global:
+ scrape_interval: 5s
+ external_labels:
+ monitor: 'my-monitor'
+
+scrape_configs:
+ - job_name: 'prometheus'
+ static_configs:
+ - targets: ['localhost:9090']
+
+ - job_name: 'kafka-consumer'
+ metrics_path: '/monitoring/prometheus'
+ static_configs:
+ - targets: ['kafka-consumer:6062']