prometheus.yml 1.05 KB
Newer Older
Thierry Bressure's avatar
Thierry Bressure committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
global:
  scrape_interval: 15s
  scrape_timeout: 10s
  evaluation_interval: 15s
alerting:
  alertmanagers:
  - static_configs:
    - targets: []
    scheme: http
    timeout: 10s
    api_version: v1
scrape_configs:
- job_name: prometheus
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - localhost:9090
Thierry Bressure's avatar
Thierry Bressure committed
22 23 24 25

- job_name: 'docker infra'
         # metrics_path defaults to '/metrics'
         # scheme defaults to 'http'.
Thierry Bressure's avatar
Thierry Bressure committed
26
  static_configs:
Thierry Bressure's avatar
Thierry Bressure committed
27 28
  - targets: ['192.168.0.12:9323']

Thierry Bressure's avatar
Thierry Bressure committed
29
- job_name: 'system'
Thierry Bressure's avatar
Thierry Bressure committed
30
  static_configs:
Thierry Bressure's avatar
Thierry Bressure committed
31 32 33 34 35
  - targets:
     - '192.168.0.12:9100'
     - '192.168.122.69:9100'
     - '192.168.122.30:9100'
  
Thierry Bressure's avatar
Thierry Bressure committed
36

Thierry Bressure's avatar
Thierry Bressure committed
37
- job_name: 'docker'
Thierry Bressure's avatar
Thierry Bressure committed
38 39 40
         # metrics_path defaults to '/metrics'
         # scheme defaults to 'http'.
  static_configs:
Thierry Bressure's avatar
Thierry Bressure committed
41 42 43 44
  - targets:
     - '192.168.0.12:9393'
     - '192.168.122.69:9323'
     - '192.168.122.30:9323'
Thierry Bressure's avatar
Thierry Bressure committed
45 46


Thierry Bressure's avatar
Thierry Bressure committed
47
- job_name: cadvisor infra
Thierry Bressure's avatar
Thierry Bressure committed
48
  static_configs:
Thierry Bressure's avatar
Thierry Bressure committed
49 50 51 52
  - targets:
     - '192.168.0.12:9200'
     - '192.168.122.69:9200'
     - '192.168.122.30:9323'