GithubHelp home page GithubHelp logo

isabella232 / dnsmetrics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pagerduty/dnsmetrics

0.0 0.0 0.0 21 KB

DNSmetrics connects to your accounts at multiple managed DNS providers using their APIs and emits standardized metrics in statsd format for easy ingestion into your monitoring solution of choice.

License: Apache License 2.0

Shell 1.60% Go 91.49% Makefile 4.66% Dockerfile 2.25%

dnsmetrics's Introduction

DNSmetrics connects to your accounts at multiple managed DNS providers using their APIs and emits standardized metrics in statsd format for easy ingestion into your monitoring solution of choice.

While any DNS provider has a control panel, their UI can be incomplete and they might not have alerting on metrics that are important to you. Furthermore, if you use several providers for redundancy, there is no way to have one dashboard that shows unified health of your DNS architecture.

Supported DNS providers

It is easy to add new providers. Contributions are most welcome.

Installation

With Go 1.7 installed, do make install and this will result in a binary.

Configuration

Take a look at config.yml. It should be self explanatory.

Running DNSmetrics

For testing, using --once will output the collected metrics to stdout instead of sending them to statsd. Without --once, DNSmetrics will run as a service, collecting and sending metrics every check_interval.

List of Metrics

All metrics are tagged with zone and provider tags. Zone is the DNS zone for the metric and provider is the DNS provider.

All metrics have the prefix dnsmetrics.

Not all providers support all metrics described below.

  • zone.type.primary, zone.type.secondary - 0 or 1.

  • zone.qps - current (or most recent) rate of queries per second, of all types, for the zone.

  • zone.record_count - number of records of all types in the zone.

  • zone.serial - the serial number of the zone.

  • zone.secondary.is_ok - 0 or 1. 1 when provider considers the zone to be healthy.

  • zone.secondary.is_expired - 0 or 1. 1 when the zone is expired and presumably no longer being served by the provider.

  • zone.secondary.sec_since_last_xfr - time since last zone transfer.

Monitoring

A DataDog dashboard specification with some of the collected metrics can be found in monitoring/datadog. It can be imported using the API.

Contributing

Fork it, create a new feature branch, make your changes, open a pull request. Tests would be much appreciated.

dnsmetrics's People

Contributors

maxvt avatar wlonkly avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.