# Example Prometheus configuration for the bot. Copy it next to your # Prometheus, adjust the targets, and load alerts.yml with it. # # The core serves /metrics on HTTP_LISTEN (8080). Each standalone worker # serves /metrics on WORKER_HEALTH_LISTEN (8081). Scrape them over the # private network; do not route /metrics through the public proxy. global: scrape_interval: 30s evaluation_interval: 30s rule_files: - alerts.yml scrape_configs: - job_name: dlbot-core static_configs: - targets: ["core:8080"] - job_name: dlbot-worker static_configs: - targets: ["worker-a:8081", "worker-b:8081"]