From b2c8bc6b9bfd502be01e524c24628fcd10b1e177 Mon Sep 17 00:00:00 2001 From: ToineSiebelink Date: Tue, 7 Feb 2023 10:30:03 +0000 Subject: 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 Change-Id: I5d7365a3f789cc698e2702d72700a002cf03eaef --- docker-compose/prometheus.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docker-compose/prometheus.yml (limited to 'docker-compose/prometheus.yml') 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'] -- cgit 1.2.3-korg