metal-stack / metal-roles

Ansible roles for deploying metal-stack
MIT License
3 stars 2 forks source link

Add lightbox-exporter scrape config to prometheus on the management server #287

Closed majst01 closed 3 weeks ago

majst01 commented 4 months ago

Sample scrape config:


- job_name: 'lightbox-exporter'
  metrics_path: /metrics
  scrape_timeout: 25s
  scrape_interval: 30s
  honor_timestamps: True
  static_configs:
  - targets:
    - storage-0:8090
    - storage-1:8090
    - storage-2:8090

  params:
    collect[]:
    - clustering
    - datapath
    - duroslight
    - meminfo
    - textfile
    - lightfield
    - netstat
    - netdev
    - cpufreq

- job_name: lightos-smart
  scheme: http
  scrape_timeout: 10s
  scrape_interval: 5m
  metrics_path: /metrics
  honor_timestamps: True
  params:
    collect[]:
    - smart
  static_configs:
  - targets:
    - storage-0:8090
    - storage-1:8090
    - storage-2:8090
robertvolkmann commented 2 months ago

Fixed by #297