prometheus.yml 1.13 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 29 30
  - targets: ['192.168.0.12:9323']

- job_name: 'system infra'
  static_configs:
Thierry Bressure's avatar
Thierry Bressure committed
31 32 33 34 35 36 37 38
  - targets: [192.168.0.12:9100]
- job_name: 'system staging'
  static_configs:
  - targets: [192.168.122.69:9100]
- job_name: 'system producion'
  static_configs:
  - targets: [192.168.122.30:9100]

Thierry Bressure's avatar
Thierry Bressure committed
39 40 41 42 43 44 45 46 47 48 49 50 51

- job_name: 'docker staging'
         # metrics_path defaults to '/metrics'
         # scheme defaults to 'http'.
  static_configs:
  - targets: ['192.168.122.69:9323']

- job_name: 'docker production'
         # metrics_path defaults to '/metrics'
         # scheme defaults to 'http'.

  static_configs:
  - targets: ['192.168.122.30:9323']