prometheus.yml 1.12 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

Thierry Bressure's avatar
Thierry Bressure committed
23 24 25 26 27 28 29 30 31 32

- job_name: gitlab
  honor_timestamps: true
  params:
    token:
    - token_a_remplacer
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /-/metrics
  scheme: https
Thierry Bressure's avatar
Thierry Bressure committed
33
  static_configs:
Thierry Bressure's avatar
Thierry Bressure committed
34 35 36
  - targets:
    - gitlab.bressure.net

Thierry Bressure's avatar
Thierry Bressure committed
37

Thierry Bressure's avatar
Thierry Bressure committed
38
- job_name: 'system'
Thierry Bressure's avatar
Thierry Bressure committed
39
  static_configs:
Thierry Bressure's avatar
Thierry Bressure committed
40 41 42 43 44
  - targets:
     - '192.168.0.12:9100'
     - '192.168.122.69:9100'
     - '192.168.122.30:9100'
  
Thierry Bressure's avatar
Thierry Bressure committed
45

Thierry Bressure's avatar
Thierry Bressure committed
46
- job_name: 'docker'
Thierry Bressure's avatar
Thierry Bressure committed
47 48 49
         # metrics_path defaults to '/metrics'
         # scheme defaults to 'http'.
  static_configs:
Thierry Bressure's avatar
Thierry Bressure committed
50 51 52 53
  - targets:
     - '192.168.0.12:9393'
     - '192.168.122.69:9323'
     - '192.168.122.30:9323'
Thierry Bressure's avatar
Thierry Bressure committed
54 55


Thierry Bressure's avatar
Thierry Bressure committed
56
- job_name: cadvisor infra
Thierry Bressure's avatar
Thierry Bressure committed
57
  static_configs:
Thierry Bressure's avatar
Thierry Bressure committed
58 59 60 61
  - targets:
     - '192.168.0.12:9200'
     - '192.168.122.69:9200'
     - '192.168.122.30:9323'