aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose/config/prometheus.yml
blob: 8db07c8d055d3df5bde63ac644fa0c222aad5b4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
global:
  scrape_interval: 5s
  evaluation_interval: 5s

scrape_configs:
- job_name: 'cps-and-ncmp-kpi'
  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:
      - '172.17.0.1:8698'
      - '172.17.0.1:8699'

- job_name: 'cps-and-ncmp-endurance'
  metrics_path: '/actuator/prometheus'
  scrape_interval: 5s
  static_configs:
    - targets:
        - '172.17.0.1:8798'
        - '172.17.0.1:8799'