DNSmetrics: Unified Metrics Collection From Multiple DNS Providers
Blog post from PagerDuty
PagerDuty has open-sourced a tool called DNSmetrics, which they developed to gather and transform metrics from their managed DNS providers for monitoring and alerting purposes. DNS is critical for translating domain names into network addresses, ensuring service availability, and mitigating issues like DoS attacks. To enhance resilience, PagerDuty utilizes two DNS providers in an active-active configuration, but found monitoring these providers challenging due to differing metrics and interfaces. DNSmetrics addresses this by connecting to both providers via APIs, normalizing the metrics, and emitting them in a standard format for integration into time-series monitoring systems. This consolidation allows for a comprehensive dashboard and flexible alerting across all DNS providers and zones. The tool, initially supporting only PagerDuty's providers, is designed for easy extension to others with REST APIs. DNSmetrics is available for use via a Docker container, inviting others to integrate it into their environments.