Commit Graph

48 Commits

Author SHA1 Message Date
Phil Porada
1d05a2741b
Add contrib directory (#45)
The new contrib directory contains a script that generates an EC key-pair that satisfies golang >=1.15 CommonName deprecation. 

Co-authored-by: J.C. Jones <jcjones@users.noreply.github.com>
Co-authored-by: Samantha <hello@entropy.cat>
2023-02-22 18:22:22 -05:00
Phil Porada
cb8f755e9b
Update dependencies to fix promhttp uncontrolled resource consumption (#51)
* Update dependencies to fix promhttp uncontrolled resource consumption
* Update CI pipeline golang to 1.20.1
2023-02-21 16:42:51 -05:00
Jacob Hoffman-Andrews
f536641923
Update installation instructions (#43)
`go get` is no longer supported outside of modules. Use `go install` instead.

Also document minimum required Go version.
2022-07-06 18:33:29 -07:00
Robert Edmonds
ef346f5e25
Add new metrics for num.query.tcpout and num.query.udpout (#40)
Unbound has a statistics counter `num.query.tcpout` which measures the
number of outgoing queries that Unbound has made via TCP, which was
added in 1.5.0 in 2014:

330b3219a0

The upcoming release of Unbound (1.16.1) should have support for a new
statistics counter `num.query.udpout` which measures the number of
outgoing queries that Unbound has made via UDP:

b816318106

There are several configuration options that can affect the number of
outgoing queries made by the server (`qname-minimisation`,
`serve-expired`, `prefetch`, `target-fetch-policy`,
`harden-referral-path`, etc.) and recursion itself may require making
more than one outgoing query per cache miss, all of which make it useful
to monitor the number of outgoing queries from the server separately
from the number of incoming queries to the server, or the number of
incoming queries that caused cache misses. Timeouts/retries during
recursion can also affect the number of outgoing queries made.
2022-06-29 13:41:56 -07:00
James Renken
8c54f36172
Restore load-bearing checkout step in release Action 2022-04-22 11:44:00 -07:00
J.C. Jones
43dfb18ca7
Build and Release Action (#38)
Co-authored-by: James Renken <jrenken@letsencrypt.org>
2022-04-22 11:28:46 -07:00
Phil Porada
b4edb2be0b
Update repository name in go.mod (#29) 2021-11-17 15:11:42 -05:00
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
Phil Porada
6cd7580102
Add Github Actions CI (#27) 2021-11-17 14:15:26 -05:00
Bart Vercoulen
1b0abc3709
Unmaintained readme update. 2021-03-12 10:16:21 +01:00
Bart Vercoulen
c5af67df1c
Merge pull request #16 from dmgk/master
Add support for freebsd/arm64
2020-06-30 17:57:08 +02:00
Bart Vercoulen
f6e24e38a5
Merge pull request #17 from skorpy2009/patch-1
Add note about extended-statistic to README.md
2020-06-30 17:51:58 +02:00
Bart Vercoulen
9fe40f5f81
Merge pull request #15 from rtreffer/master
Make TLS configuration optional
2020-06-30 17:48:17 +02:00
skorpy2009
cf6fa45406
Add note about extended-statistic to README.md 2020-02-24 20:57:50 +01:00
Dmitri Goutnik
4cb2606101
Add support for freebsd/arm64 2019-12-11 14:20:09 -05:00
rtreffer
f86048b7a0 Make TLS configuration optional 2019-10-05 15:05:12 +02:00
Ivaylo Korakov
1739a339d3 Indirect deps 2019-08-19 09:48:30 +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
a4cce2b2a4 Add go mod support 2019-06-18 09:11:41 +03:00
Mustafa Simav
9dcc0d06e7 Fix build error 2019-06-18 09:04:16 +03:00
Bart Vercoulen
b7e842d893
Merge pull request #11 from MichiMeyer/newUnboundMetric-query-tls-total
Added new Unbound Metric for total TLS queries
2018-11-19 09:47:01 +01:00
Michael Meyer
4c8c8a7b4a Added new Unbound Metric for total TLS queries 2018-11-14 17:55:34 +01:00
Tim Stoop
cc9c7edd06
Merge pull request #10 from jbidinger/master
Added two stats
2018-08-25 16:59:00 +02: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
Ed Schouten
2a85aabec4
Merge pull request #5 from hightoxicity/fix-mean
Fix mean calculation
2017-11-21 11:49:07 +01:00
Tony Fouchard
e7d7ce9818 Fix mean calculation 2017-11-21 11:33:59 +01:00
Ed Schouten
91ad2ff620 Add a script for building a statically linked executable.
This is the script we use at Kumina to build binaries that can be
deployed across our cluster easily.
2017-10-19 16:23:50 +02: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
Ed Schouten
f538243789 Merge pull request #3 from pgporada/master
Changed the logging to use the prometheus logger
2017-08-04 22:07:41 +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
786bb37946 Merge pull request #2 from pgporada/master
Update readme
2017-07-29 00:36:59 +02:00
Phil Porada
1f2ccfac82
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
Phil Porada
862a1b49fa
Updates per comments in PR 2017-07-28 12:49:11 -04:00
Phil Porada
5d1cfac0f2
Update readme 2017-07-27 21:16:21 -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
6b651400c4 Add a README. 2017-01-09 09:27:01 +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