# Prometheus scrape job for the CrowdSec host agent. Gathered into # prometheus/scrape.d/crowdsec.yml by monitoringRefreshPrometheus when # CFG_CROWDSEC_MONITORING=true. CrowdSec runs on the host, so the target is # host.docker.internal (the Prometheus container has the host-gateway alias); # installCrowdsecHost binds CrowdSec's metrics endpoint to a reachable address. - job_name: crowdsec metrics_path: /metrics static_configs: - targets: ['host.docker.internal:6060']