diff options
Diffstat (limited to 'docker-compose/config/prometheus.yml')
-rw-r--r-- | docker-compose/config/prometheus.yml | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/docker-compose/config/prometheus.yml b/docker-compose/config/prometheus.yml index 89af4a6800..e1aa4763d9 100644 --- a/docker-compose/config/prometheus.yml +++ b/docker-compose/config/prometheus.yml @@ -3,10 +3,12 @@ global: 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' +- job_name: 'cps-and-ncmp' + metrics_path: '/actuator/prometheus' + scrape_interval: 5s + static_configs: + # If you want to inject Prometheus into particular containers, the targets should be provided similar to the following examples: + # - 'docker-compose-cps-and-ncmp-1:8080' + # - 'docker-compose-cps-and-ncmp-2:8080' + - targets: + - 'cps-and-ncmp:8080'
\ No newline at end of file |