aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/handler_test.go
diff options
context:
space:
mode:
authorGravatar James Hartig <fastest963@gmail.com> 2017-12-14 13:19:03 -0500
committerGravatar Miek Gieben <miek@miek.nl> 2017-12-14 18:19:03 +0000
commit671d17061955d3182528e7c7669b3e8823246e46 (patch)
tree2dafd2467d45228ab53562ae204374e6ced01d30 /plugin/kubernetes/handler_test.go
parent1919913c986b7c1e1652a94bf69e54b503e40a18 (diff)
downloadcoredns-671d17061955d3182528e7c7669b3e8823246e46.tar.gz
coredns-671d17061955d3182528e7c7669b3e8823246e46.tar.zst
coredns-671d17061955d3182528e7c7669b3e8823246e46.zip
plugin/metrics: Switch to using promhttp instead of deprecated Handler (#1312)
prometheus.Handler is deprecated according to the godoc for the package so instead we're using promhttp. Additionally, we are exposing the Registry that metrics is using so other plugins that are not inside of coredns can read the registry. Otherwise, if we kept using the Default one, there's no way to access that from outside of the coredns repo since it is vendored.
Diffstat (limited to 'plugin/kubernetes/handler_test.go')
0 files changed, 0 insertions, 0 deletions