Welcome!

Blog Feed Post

DNSmetrics: Unified Metrics Collection From Multiple DNS Providers

We’re excited to share that we’re open-sourcing the tool we use to gather and transform the metrics from our managed DNS providers. We use DNSmetrics to supply data in a standard format to our SRE team’s monitoring and alerting systems, and we hope it can be useful for you too.

The central role of DNS

Here at PagerDuty, we care a lot about reliability and availability of our service. Availability is a key requirement in the design of our internal infrastructure, but the same requirements should also be applied to infrastructure we do not own. PagerDuty leverages third-party providers for some of the essential infrastructure components, and today we will talk about one of them: DNS.

The Domain Name System is responsible for translating domain names, like pagerduty.com, to network addresses of servers that can answer API and web application requests. Since addresses can change, most systems (and just about all humans) use names so if DNS is not available for our domain, our services become unreachable for a majority of our customers. Therefore, having DNS available and correctly configured is crucial.

DNS providers understand this and maintain a global network of highly available systems. However, large systems are not infallible, and the nature of DNS makes it particularly susceptible to DoS attacks. In fact, many of the big names in the Managed DNS providers space have had at least one big service disruption over the past few years (a few examples: 1, 2, 3, 4). PagerDuty has been using a single provider in the past, but we no longer consider that sufficiently robust. Currently, we rely on two providers for our DNS needs, in an active-active configuration (each provider is responsible for approximately half of our production traffic).

Why we built DNSmetrics and how it helps

Setting up monitoring and alerting across both of our DNS providers proved challenging. While each provider has overviews and reports available in their administration interface, the reports are different between providers: in selection of metrics exposed, in location of the same data within different interfaces, in time interval used for averages and reports, and so on. It took more effort and different screens to obtain a good snapshot of state of DNS across our providers and zones than we were comfortable with, and we wanted to use our own tooling for alerting capabilities (in particular around the interaction of both providers, for example tracking that neither provider is getting more than a certain share of our total traffic).

We needed a better solution and none was available, so we built one. It is a service that connects to both of our DNS providers using their APIs and pulls out metrics of interest to us. These metrics are normalized into the same namespace and units, and emitted in a standard statsd format for ingestion into any time-series monitoring system.

Instead of two different administrative interfaces and multiple screens on each of them, we now have a single dashboard that provides an overview of the health of our DNS aggregated across all providers and zones:

https://www.pagerduty.com/wp-content/uploads/2017/04/dnsmetrics-300x180.png 300w, https://www.pagerduty.com/wp-content/uploads/2017/04/dnsmetrics-768x461.png 768w, https://www.pagerduty.com/wp-content/uploads/2017/04/dnsmetrics-250x150.png 250w, https://www.pagerduty.com/wp-content/uploads/2017/04/dnsmetrics-180x108.png 180w" sizes="(max-width: 1024px) 100vw, 1024px" />

In addition, now that we had the time-series metrics in one place, we could apply the full expressive power of time-series queries (DataDog monitors, in our case) to set up flexible alerting on our DNS in aggregate across all providers, per provider, and per zone as necessary.

Monitoring managed DNS providers is a problem that is in no way unique to PagerDuty’s SRE team, so we decided to open-source DNSmetrics. Currently it only supports the providers we use, but extending coverage to other providers should be straightforward as long as they have a REST API that exposes commonly used metrics. Trying out DNSmetrics is as easy as running a Docker container, and we hope you will give it a spin and perhaps find a place for it in your environment as well.

The post DNSmetrics: Unified Metrics Collection From Multiple DNS Providers appeared first on PagerDuty.

Read the original blog entry...

More Stories By PagerDuty Blog

PagerDuty’s operations performance platform helps companies increase reliability. By connecting people, systems and data in a single view, PagerDuty delivers visibility and actionable intelligence across global operations for effective incident resolution management. PagerDuty has over 100 platform partners, and is trusted by Fortune 500 companies and startups alike, including Microsoft, National Instruments, Electronic Arts, Adobe, Rackspace, Etsy, Square and Github.

Latest Stories
@GonzalezCarmen has been ranked the Number One Influencer and @ThingsExpo has been named the Number One Brand in the “M2M 2016: Top 100 Influencers and Brands” by Analytic. Onalytica analyzed tweets over the last 6 months mentioning the keywords M2M OR “Machine to Machine.” They then identified the top 100 most influential brands and individuals leading the discussion on Twitter.
SYS-CON Events announced today that Grape Up will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct. 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Grape Up is a software company specializing in cloud native application development and professional services related to Cloud Foundry PaaS. With five expert teams that operate in various sectors of the market across the U.S. and Europe, Grape Up works with a variety of customers from emergi...
The 20th International Cloud Expo has announced that its Call for Papers is open. Cloud Expo, to be held June 6-8, 2017, at the Javits Center in New York City, brings together Cloud Computing, Big Data, Internet of Things, DevOps, Containers, Microservices and WebRTC to one location. With cloud computing driving a higher percentage of enterprise IT budgets every year, it becomes increasingly important to plant your flag in this fast-expanding business opportunity. Submit your speaking proposal ...
With major technology companies and startups seriously embracing IoT strategies, now is the perfect time to attend @ThingsExpo 2016 in New York. Learn what is going on, contribute to the discussions, and ensure that your enterprise is as "IoT-Ready" as it can be! Internet of @ThingsExpo, taking place June 6-8, 2017, at the Javits Center in New York City, New York, is co-located with 20th Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry p...
SYS-CON Events announced today that Super Micro Computer, Inc., a global leader in compute, storage and networking technologies, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Supermicro (NASDAQ: SMCI), the leading innovator in high-performance, high-efficiency server technology, is a premier provider of advanced server Building Block Solutions® for Data Center, Cloud Computing, Enterprise IT, Hadoop/...
Amazon has gradually rolled out parts of its IoT offerings in the last year, but these are just the tip of the iceberg. In addition to optimizing their back-end AWS offerings, Amazon is laying the ground work to be a major force in IoT – especially in the connected home and office. Amazon is extending its reach by building on its dominant Cloud IoT platform, its Dash Button strategy, recently announced Replenishment Services, the Echo/Alexa voice recognition control platform, the 6-7 strategic...
Bert Loomis was a visionary. This general session will highlight how Bert Loomis and people like him inspire us to build great things with small inventions. In their general session at 19th Cloud Expo, Harold Hannon, Architect at IBM Bluemix, and Michael O'Neill, Strategic Business Development at Nvidia, discussed the accelerating pace of AI development and how IBM Cloud and NVIDIA are partnering to bring AI capabilities to "every day," on-demand. They also reviewed two "free infrastructure" pr...
In his keynote at @ThingsExpo, Chris Matthieu, Director of IoT Engineering at Citrix and co-founder and CTO of Octoblu, focused on building an IoT platform and company. He provided a behind-the-scenes look at Octoblu’s platform, business, and pivots along the way (including the Citrix acquisition of Octoblu).
Everyone wants to use containers, but monitoring containers is hard. New ephemeral architecture introduces new challenges in how monitoring tools need to monitor and visualize containers, so your team can make sense of everything. In his session at @DevOpsSummit, David Gildeh, co-founder and CEO of Outlyer, will go through the challenges and show there is light at the end of the tunnel if you use the right tools and understand what you need to be monitoring to successfully use containers in your...
Developers want to create better apps faster. Static clouds are giving way to scalable systems, with dynamic resource allocation and application monitoring. You won't hear that chant from users on any picket line, but helping developers to create better apps faster is the mission of Lee Atchison, principal cloud architect and advocate at New Relic Inc., based in San Francisco. His singular job is to understand and drive the industry in the areas of cloud architecture, microservices, scalability ...
Data is an unusual currency; it is not restricted by the same transactional limitations as money or people. In fact, the more that you leverage your data across multiple business use cases, the more valuable it becomes to the organization. And the same can be said about the organization’s analytics. In his session at 19th Cloud Expo, Bill Schmarzo, CTO for the Big Data Practice at Dell EMC, introduced a methodology for capturing, enriching and sharing data (and analytics) across the organization...
The explosion of new web/cloud/IoT-based applications and the data they generate are transforming our world right before our eyes. In this rush to adopt these new technologies, organizations are often ignoring fundamental questions concerning who owns the data and failing to ask for permission to conduct invasive surveillance of their customers. Organizations that are not transparent about how their systems gather data telemetry without offering shared data ownership risk product rejection, regu...
Grape Up is a software company, specialized in cloud native application development and professional services related to Cloud Foundry PaaS. With five expert teams that operate in various sectors of the market across the USA and Europe, we work with a variety of customers from emerging startups to Fortune 1000 companies.
Financial Technology has become a topic of intense interest throughout the cloud developer and enterprise IT communities. Accordingly, attendees at the upcoming 20th Cloud Expo at the Javits Center in New York, June 6-8, 2017, will find fresh new content in a new track called FinTech.
SYS-CON Events announced today that Interoute, owner-operator of one of Europe's largest networks and a global cloud services platform, has been named “Bronze Sponsor” of SYS-CON's 20th Cloud Expo, which will take place on June 6-8, 2017 at the Javits Center in New York, New York. Interoute is the owner-operator of one of Europe's largest networks and a global cloud services platform which encompasses 12 data centers, 14 virtual data centers and 31 colocation centers, with connections to 195 add...