coredns/core/dnsserver
Miek Gieben 93f635023a
Don't double report metrics on error (#2719)
* Don't double report metrics on error

When there is an error use a different function to report the metrics,
in case the plugin chain handled the request the metrics are already
reported.

Fixes: #2717

Signed-off-by: Miek Gieben <miek@miek.nl>

* Compile again

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-03-25 19:04:03 +00:00
..
address.go Fix some typos in comment (#2520) 2019-02-01 19:22:43 +08:00
address_test.go Cleanup ParseHostOrFile (#2100) 2018-09-19 07:29:37 +01:00
config.go Remove some duplicate worlds (#2582) 2019-02-20 07:12:21 -05:00
https.go Doh: put in pkg/doh (#1946) 2018-07-07 08:22:07 +01:00
listen_go111.go Log error on SO_REUSEPORT and continue (#2243) 2018-10-28 16:02:58 +00:00
listen_go_not111.go Core: Support REUSE_PORT (#2149) 2018-10-01 17:05:24 +00:00
log_test.go Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
onstartup.go Fix start mesg for all protocol (#1617) 2018-03-17 19:04:01 +00:00
register.go Better naming (#2104) 2018-09-19 08:16:04 +01:00
register_test.go presubmit: Check errorf as well (#1845) 2018-06-02 11:48:39 -07:00
server.go Don't double report metrics on error (#2719) 2019-03-25 19:04:03 +00:00
server_grpc.go Remove some duplicate worlds (#2582) 2019-02-20 07:12:21 -05:00
server_https.go DoH: Fixing panic in case if there's no response (#2577) 2019-02-25 16:16:17 +00:00
server_test.go Remove internal loop detection (#2647) 2019-03-07 20:23:00 +00:00
server_tls.go Cleanup ParseHostOrFile (#2100) 2018-09-19 07:29:37 +01:00
zdirectives.go grpc: go generate (#2712) 2019-03-23 18:17:07 +00:00