Skip to content

Prometheus Integration

Expose and collect DNS metrics with Prometheus.

  1. Create a data folder:

    mkdir -p ./data
    

  2. Configure targets in prometheus.yml and start the stack:

  3. Prometheus docker-compose.yml

    docker compose up -d
    

  4. Run DNS-collector with the Prometheus integration configuration:

  5. Prometheus config.yml
    ./dnscollector -config docs/_integration/prometheus/config.yml