global:
  scrape_interval: 15s
  evaluation_interval: 15s

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

  # Gateway
  - job_name: "gateway"
    static_configs:
      - targets: ["dagi-gateway-node1:9300"]
    metrics_path: /metrics
    scrape_timeout: 10s

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

  # Swapper
  - job_name: "swapper"
    static_configs:
      - targets: ["swapper-service-node1:8890"]
    metrics_path: /metrics

  # Memory Service
  - job_name: "memory-service"
    static_configs:
      - targets: ["dagi-memory-service-node1:8000"]
    metrics_path: /metrics

  # Ingest Service
  - job_name: "ingest-service"
    static_configs:
      - targets: ["ingest-service:8100"]
    metrics_path: /metrics

  # Parser Pipeline
  - job_name: "parser-pipeline"
    static_configs:
      - targets: ["parser-pipeline:8101"]
    metrics_path: /metrics

  # NATS
  - job_name: "nats"
    static_configs:
      - targets: ["nats:8222"]
    metrics_path: /metrics

  # Qdrant
  - job_name: "qdrant"
    static_configs:
      - targets: ["dagi-qdrant-node1:6333"]
    metrics_path: /metrics

  # Redis
  - job_name: "redis"
    static_configs:
      - targets: ["dagi-redis-node1:6379"]
    metrics_path: /metrics

  # Node Exporter (host metrics)
  - job_name: "node"
    static_configs:
      - targets: ["host.docker.internal:9100"]
