summaryrefslogtreecommitdiffstats
path: root/tools/performance/local/prometheus.yml
diff options
context:
space:
mode:
authorJakub Dudycz <jakub.dudycz@nokia.com>2019-07-03 15:17:16 +0200
committerJakub Dudycz <jakub.dudycz@nokia.com>2019-07-05 10:31:24 +0200
commitcc27d520b71afc0e038bc529223dab8e8c91e678 (patch)
tree31bf7374682a85aa96020da40ef724779048aada /tools/performance/local/prometheus.yml
parent31360a4542e2cef73c1fe1ef004e3a3b0bba95bc (diff)
Add performance test producer deployment yaml
- create cloud performance test directory structure - move consumer deployment file to "tools/performence/cloud" directory Change-Id: Ia5c6d8ed15a2188ff9306cf788052f432dae1e33 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com> Issue-ID: DCAEGEN2-1652
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']