coredns/plugin/metrics/vars
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
..
report.go Don't double report metrics on error (#2719) 2019-03-25 19:04:03 +00:00
vars.go plugin/metrics: Add a metric to monitor which plugin(s) is(are) enabled (#2700) 2019-03-23 09:43:15 +00:00