global: scrape_interval: 15s # 메트릭 수집 주기 evaluation_interval: 15s scrape_configs: # ──────────── Prometheus 자기 자신 ──────────── - job_name: 'prometheus' static_configs: - targets: ['localhost:9090'] # ──────────── Celery Exporter ──────────────── - job_name: 'celery' metrics_path: /metrics static_configs: - targets: ['celery_exporter:9808'] # (선택) FastAPI 메트릭 # prom_fastapi_instrumentator 사용 시 - job_name: 'fastapi' static_configs: - targets: ['fastapi:7890'] # /metrics 엔드포인트 포트 맞추기 # (선택) Docker 호스트 메트릭 – node exporter # - job_name: 'node' # static_configs: # - targets: ['node-exporter:9100']