https://github.com/remind101/dnsdog
DNS metrics in DataDog
https://github.com/remind101/dnsdog
Last synced: 10 months ago
JSON representation
DNS metrics in DataDog
- Host: GitHub
- URL: https://github.com/remind101/dnsdog
- Owner: remind101
- License: bsd-2-clause
- Created: 2016-03-12T18:23:07.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-10T22:32:27.000Z (over 9 years ago)
- Last Synced: 2025-04-29T22:36:31.812Z (over 1 year ago)
- Language: Go
- Size: 329 KB
- Stars: 9
- Watchers: 56
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DNSDog
DNSDog is a small utility for generating metrics for DNS queries and replies and sending them to statsd. It's functionally similar to the [DNS plugin for collectd](https://collectd.org/wiki/index.php/Plugin:DNS) but optimized for datadog.

## Installation
Grab the latest release from [here](https://github.com/remind101/dnsdog/releases).
## Usage
Start watching for DNS packets on `eth0` and send them to statsd:
```
$ dnsdog -iface eth0 -statsd "127.0.0.1:8125"
```
## Metrics
DNSDog generates the following metrics and tags:
```
dns.query{op_code}
dns.question{op_code,query,query_type}
dns.reply{response_code}
dns.reply.question{response_code,query,query_type}
dns.answer{response_code,query,query_type}
dns.reply.time{response_code}
```