aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose/config/prometheus.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose/config/prometheus.yml')
-rw-r--r--docker-compose/config/prometheus.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/docker-compose/config/prometheus.yml b/docker-compose/config/prometheus.yml
new file mode 100644
index 0000000000..89af4a6800
--- /dev/null
+++ b/docker-compose/config/prometheus.yml
@@ -0,0 +1,12 @@
+global:
+ scrape_interval: 5s
+ evaluation_interval: 5s
+
+scrape_configs:
+ - job_name: 'cps-and-ncmp'
+ metrics_path: '/actuator/prometheus'
+ scrape_interval: 5s
+ static_configs:
+ - targets:
+ - 'docker-compose-cps-and-ncmp-1:8080'
+ - 'docker-compose-cps-and-ncmp-2:8080'