Monitoring#

GateKeeper includes a Prometheus metrics endpoint that can be used to monitor the performance of the system.

This is available from the /metrics endpoint on the web server, provided the prometheus property is set to true in the configuration file’s web module.

Authentication#

This endpoint is not protected by default. If you wish to expose this, it is recommended to set up authentication via a reverse proxy such as nginx or Caddy.

Available Metrics#

Below is a list of the available metrics that can be scraped from the Prometheus endpoint.

Metric CategoryMetricTypeDescription
DHCPdhcp_active_lease_countgaugeCount of currently active DHCP leases
dhcp_req_timehistogramDHCP request processing time in milliseconds
DNSdns_blocked_domain_countcounterDNS queries blocked per domain
dns_query_by_ip_countcounterDNS queries grouped by source IP address and result status
dns_query_countcounterDNS queries by domain, result status, and upstream server (cache, 1.1.1.1, 9.9.9.9, or local-domain)
dns_req_timehistogramDNS request processing time in milliseconds, tracking latency distribution