aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose/config/prometheus.yml
blob: e1aa4763d9b11237b482a85745667f55dc07f1b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
global:
  scrape_interval: 5s
  evaluation_interval: 5s

scrape_configs:
- 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'