global:
  scrape_interval: 15s
  external_labels:
    monitor: 'libreportal'

# Per-app scrape jobs are gathered into scrape.d/ by monitoringRefreshPrometheus
# — one file per installed app with CFG_<APP>_MONITORING=true.
scrape_config_files:
  - /etc/prometheus/scrape.d/*.yml

# Built-in jobs: Prometheus itself plus the bundled host/container exporters.
scrape_configs:
  - job_name: 'prometheus'
    static_configs:
      - targets: ['localhost:9090']

  - job_name: 'node-exporter'
    static_configs:
      - targets: ['node-exporter:9100']

  - job_name: 'cadvisor'
    static_configs:
      - targets: ['cadvisor:8080']
