Commit Graph

22 Commits

Author SHA1 Message Date
Phil Porada 209c3cbdd4
Fix lints, add testing file, and update go mod and sum files (#28)
* Fix lint errors. Includes PR #25 and PR #23
2021-11-17 14:32:28 -05:00
rtreffer f86048b7a0 Make TLS configuration optional 2019-10-05 15:05:12 +02:00
Ivaylo Korakov 6b157e77e7
Merge pull request #13 from msimav/master
Fix compile error and add support for go modules
2019-08-19 09:43:37 +02:00
Théo Piboubès bd1b7b7f48 Add Unix socket support for control interface 2019-07-03 10:48:16 +02:00
Théo Piboubès 0f327fd7a5 Prometheus' Handler() is now part of promhttp 2019-07-03 10:48:05 +02:00
Mustafa Simav 9dcc0d06e7 Fix build error 2019-06-18 09:04:16 +03:00
Michael Meyer 4c8c8a7b4a Added new Unbound Metric for total TLS queries 2018-11-14 17:55:34 +01:00
Jon Bidinger 913482151a Matched indentation of original .go 2018-08-24 19:53:38 -05:00
Jon Bidinger f043abe536 Added msg.cache.count and rrset.cache.count gauges. 2018-08-24 19:48:23 -05:00
Ed Schouten 4f36729f55 Use total.recursion.time.avg to reconstruct the histogram sum.
Wouter Wijngaards mentioned in the NLnet bug tracker that this metric
provides exactly the value that we need.
2017-12-04 09:33:58 +01:00
Ed Schouten 01935206bc
Merge pull request #6 from hightoxicity/feat-recursive-avg-median
Push avg and median
2017-11-21 13:45:03 +01:00
Tony Fouchard 2946dd3542 Add avg and median recuursion time 2017-11-21 13:40:45 +01:00
Tony Fouchard e7d7ce9818 Fix mean calculation 2017-11-21 11:33:59 +01:00
Bart Vercoulen 11f53c8612 Refactored the unbound histogram metrics from gauge metrics into
Prometheus cumulative histogram metrics.

Fixes: #4
2017-10-19 16:10:25 +02:00
Phil Porada 9ec36c5eda
Ran gofmt 2017-08-04 16:01:04 -04:00
Phil Porada 343344a7af
Updated log line 2017-08-04 16:00:03 -04:00
Phil Porada c1c75dd76b
Changed the logging to use the prometheus logger 2017-08-04 15:47:26 -04:00
Ed Schouten 890663c1aa Don't abbreviate the label name. 2017-01-09 10:47:26 +01:00
Ed Schouten 1da4c902c9 Publish all descriptions through Describe(). 2017-01-09 10:14:08 +01:00
Ed Schouten e42e8700d0 Add a proper license. 2017-01-09 09:35:52 +01:00
Ed Schouten 6c7f692818 Set a proper server name.
It looks like the server certificate of Unbound uses "unbound" as its
hostname. I'm not sure whether that's always the case, but for now,
let's assume it is.
2017-01-09 09:17:01 +01:00
Ed Schouten e519050935 Check in the initial version of the Unbound metrics exporter.
This exporter does not call into the Unbound command line utility, as
that tool only acts as a very light-weight shim around invoking an RPC
over TLS.
2017-01-09 09:01:42 +01:00