Go to file
2017-11-21 13:45:03 +01:00
.gitignore Refactored the unbound histogram metrics from gauge metrics into 2017-10-19 16:10:25 +02:00
build_static.sh Add a script for building a statically linked executable. 2017-10-19 16:23:50 +02:00
LICENSE Add a proper license. 2017-01-09 09:35:52 +01:00
README.md Updated readme once more based on what I needed to do to get the install command working. 2017-07-28 12:55:52 -04:00
unbound_exporter.go Merge pull request #6 from hightoxicity/feat-recursive-avg-median 2017-11-21 13:45:03 +01:00

Prometheus Unbound exporter

This repository provides code for a simple Prometheus metrics exporter for the Unbound DNS resolver. This exporter connects to Unbounds TLS control socket and sends the stats_noreset command, causing Unbound to return metrics as key-value pairs. The metrics exporter converts Unbound metric names to Prometheus metric names and labels by using a set of regular expressions.


Installation

To install this code and in your go environment. You can then add the binary to your PATH.

go get github.com/kumina/unbound_exporter
go install github.com/kumina/unbound_exporter

Usage

To show all CLI flags available

unbound_exporter -h