coredns/plugin
Miek Gieben e34e2c251f plugin/proxy: kick of HC on every 3rd failure (#1110)
* healthchecks: check on every 3rd failure

Check on every third failure and some cleanups to make this possible. A
failed healthcheck will never increase Fails, a successfull healthceck
will reset Fails to 0. This is a chance this counter now drops below 0,
making the upstream super? healthy.

This removes the okUntil smartness and condences everything back to 1
metrics: Fails; so it's simpler in that regard.

Timout errors are *not* attributed to the local upstream, and don't get
counted into the Fails anymore. Meaning the 'dig any isc.org' won't kill
your upstream.

Added extra test the see if the Fails counter gets reset after 3 failed
connection.

There is still a disconnect beween HTTP healthceck working the proxy (or
lookup) not being able to connect to the upstream.

* Fix tests
2017-10-15 19:38:39 +02:00
..
auto doc update (#1140) 2017-10-10 09:39:35 +02:00
autopath doc update (#1140) 2017-10-10 09:39:35 +02:00
bind plugins: expand examples (#1077) 2017-09-15 09:56:05 +01:00
cache plugin/cache: don't update freq is prefetch isn't used. (#1144) 2017-10-13 17:22:08 +02:00
chaos pkg: add dnstest (#1098) 2017-09-21 15:15:47 +01:00
debug doc update (#1140) 2017-10-10 09:39:35 +02:00
dnssec doc update (#1140) 2017-10-10 09:39:35 +02:00
dnstap doc update (#1140) 2017-10-10 09:39:35 +02:00
erratic pkg: add dnstest (#1098) 2017-09-21 15:15:47 +01:00
errors pkg: add dnstest (#1098) 2017-09-21 15:15:47 +01:00
etcd doc update (#1140) 2017-10-10 09:39:35 +02:00
federation plugin/kubernetes: Enable protobuf, Update client api package (#1114) 2017-09-29 15:58:50 -04:00
file Add fuzzing infrastructure (#1118) 2017-09-29 22:28:13 +01:00
health doc update (#1140) 2017-10-10 09:39:35 +02:00
hosts doc update (#1140) 2017-10-10 09:39:35 +02:00
kubernetes plugin/proxy: kick of HC on every 3rd failure (#1110) 2017-10-15 19:38:39 +02:00
loadbalance doc update (#1140) 2017-10-10 09:39:35 +02:00
log doc update (#1140) 2017-10-10 09:39:35 +02:00
metrics doc update (#1140) 2017-10-10 09:39:35 +02:00
pkg plugin/proxy: kick of HC on every 3rd failure (#1110) 2017-10-15 19:38:39 +02:00
pprof doc update (#1140) 2017-10-10 09:39:35 +02:00
proxy plugin/proxy: kick of HC on every 3rd failure (#1110) 2017-10-15 19:38:39 +02:00
reverse plugin/proxy: kick of HC on every 3rd failure (#1110) 2017-10-15 19:38:39 +02:00
rewrite doc update (#1140) 2017-10-10 09:39:35 +02:00
root plugins: expand examples (#1077) 2017-09-15 09:56:05 +01:00
secondary Remove the word middleware (#1067) 2017-09-14 09:36:06 +01:00
test golint cleanup (#1085) 2017-09-15 23:34:02 +01:00
tls Remove the word middleware (#1067) 2017-09-14 09:36:06 +01:00
trace plugin: README.md updates (#1084) 2017-09-15 22:27:55 +01:00
whoami doc update (#1140) 2017-10-10 09:39:35 +02:00
backend.go Remove the word middleware (#1067) 2017-09-14 09:36:06 +01:00
backend_lookup.go Remove the word middleware (#1067) 2017-09-14 09:36:06 +01:00
normalize.go Remove the word middleware (#1067) 2017-09-14 09:36:06 +01:00
normalize_test.go Remove the word middleware (#1067) 2017-09-14 09:36:06 +01:00
plugin.go Use gometalinter and enforcing go fmt/lint/vet (#1108) 2017-09-24 11:59:04 +01:00
plugin_test.go Remove the word middleware (#1067) 2017-09-14 09:36:06 +01:00