# Prometheus scrape job for Traefik. Gathered into # prometheus/scrape.d/traefik.yml by monitoringRefreshPrometheus when # CFG_TRAEFIK_MONITORING=true. Traefik exposes /metrics on its dedicated # `metrics` entrypoint (:8082, internal-only); reachable from the Prometheus # container by the service name on the shared docker network. - job_name: traefik metrics_path: /metrics static_configs: - targets: ['traefik-service:8082']