global:
  scrape_interval: 15s
  evaluation_interval: 15s

rule_files:
  - /etc/prometheus/alerts.yml

scrape_configs:
  # ------- PlausibleDeniability (local via node-exporter) -------
  - job_name: 'pd-node'
    static_configs:
      - targets: ['node-exporter:9100']
        labels:
          host: 'plausible-deniability'

  - job_name: 'pd-cadvisor'
    static_configs:
      - targets: ['cadvisor:8080']
        labels:
          host: 'plausible-deniability'

  # ------- Serenity (via Netdata Prometheus exporter) -------
  - job_name: 'serenity-netdata'
    metrics_path: /api/v1/allmetrics
    params:
      format: [prometheus]
    static_configs:
      - targets: ['10.5.30.5:19999']
        labels:
          host: 'serenity'

  # ------- N.O.M.A.D. (via node-exporter) -------
  - job_name: 'nomad-node'
    static_configs:
      - targets: ['10.5.30.7:9100']
        labels:
          host: 'nomad'
