# Prometheus scrape-конфиг (профиль observability в docker-compose.prod.yml). # Скрейпит HTTP-метрики API и Celery-метрики из Flower (Flower 2.0 отдаёт их сам). global: scrape_interval: 30s evaluation_interval: 30s scrape_configs: - job_name: prometheus static_configs: - targets: ["localhost:9090"] - job_name: api metrics_path: /metrics static_configs: - targets: ["api:8000"] - job_name: flower # метрики Celery: задачи, время выполнения, воркеры metrics_path: /metrics static_configs: - targets: ["flower:5555"]