# Scrapes the backend's /metrics endpoint (see app/Http/Controllers/
# MetricsController.php) directly over the internal Docker network —
# never through Caddy's public edge, which explicitly 404s this path.
# See docs/PROJECT_PLAN.md's "## Monitoring" subsection (§2) and
# docker-compose.yml's `monitoring` profile.
global:
  scrape_interval: 30s

scrape_configs:
  - job_name: nas-backend
    metrics_path: /metrics
    static_configs:
      - targets: ["backend:8000"]
