aboutsummaryrefslogtreecommitdiffstats
path: root/tools/performance/local/prometheus.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/performance/local/prometheus.yml')
-rw-r--r--tools/performance/local/prometheus.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/performance/local/prometheus.yml b/tools/performance/local/prometheus.yml
new file mode 100644
index 00000000..b9a937c2
--- /dev/null
+++ b/tools/performance/local/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']