summaryrefslogtreecommitdiffstats
path: root/docker-compose/prometheus.yml
diff options
context:
space:
mode:
authorToineSiebelink <toine.siebelink@est.tech>2023-02-07 10:30:03 +0000
committerToineSiebelink <toine.siebelink@est.tech>2023-02-15 08:43:26 +0000
commitb2c8bc6b9bfd502be01e524c24628fcd10b1e177 (patch)
treee76c0e54ba3089a1384cca6366b862dd095b7c4c /docker-compose/prometheus.yml
parentbf95fbd1a9b0f41dcea6d852c384e6ee2598979d (diff)
Introducing Grafana
- Added profiles to docker compose: dmi-service/dmi-stub, monitoring - NOTE: now need to add '--profile dmi-service' to enable dm-plugin (e.g. for csit) - using container names to resolve hosts for prometheus Issue-ID: CPS-1465 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I5d7365a3f789cc698e2702d72700a002cf03eaef
Diffstat (limited to 'docker-compose/prometheus.yml')
-rw-r--r--docker-compose/prometheus.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/docker-compose/prometheus.yml b/docker-compose/prometheus.yml
new file mode 100644
index 000000000..30f7c837f
--- /dev/null
+++ b/docker-compose/prometheus.yml
@@ -0,0 +1,10 @@
+global:
+ scrape_interval: 5s
+ evaluation_interval: 5s
+
+scrape_configs:
+ - job_name: 'cps-and-ncm'
+ metrics_path: '/manage/prometheus'
+ scrape_interval: 5s
+ static_configs:
+ - targets: ['cps-and-ncmp:8081']