global:
  scrape_interval: 15s
  evaluation_interval: 15s

rule_files:
  - "/etc/prometheus/rules/*.yml"

scrape_configs:
  - job_name: "prometheus"
    static_configs:
      - targets: ["localhost:9090"]

  - job_name: "agent-e2e-prober"
    static_configs:
      - targets: ["agent-e2e-prober-node1:9108"]
    metrics_path: /metrics
    scrape_interval: 30s

  - job_name: "gateway"
    static_configs:
      - targets: ["dagi-gateway-node1:9300"]
    metrics_path: /metrics

  - job_name: "router"
    static_configs:
      - targets: ["dagi-router-node1:8000"]
    metrics_path: /metrics

  - job_name: "qdrant"
    static_configs:
      - targets: ["dagi-qdrant-node1:6333"]
    metrics_path: /metrics
    scrape_timeout: 10s

  - job_name: "grafana"
    static_configs:
      - targets: ["grafana:3000"]
    metrics_path: /metrics
