diff options
author | Priyank Maheshwari <priyank.maheshwari@est.tech> | 2024-08-30 15:39:58 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2024-08-30 15:39:58 +0000 |
commit | 5b2edb3e260d1daf69b36e42c5a5bc2e23d64615 (patch) | |
tree | 84d8ae402e38d060687230ba99fb633733837ecc /docker-compose/config/prometheus.yml | |
parent | 4dac130c35ef7e720862722895eeb01ae293a042 (diff) | |
parent | fe22688f495f4870d9bf40c5935461b5e845f9d9 (diff) |
Merge "Support 2 CPS instances in Prometheus/Grafana"
Diffstat (limited to 'docker-compose/config/prometheus.yml')
-rw-r--r-- | docker-compose/config/prometheus.yml | 12 |
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' |