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.
This commit is contained in:
James Hartig
2017-12-14 13:19:03 -05:00
committed by Miek Gieben
parent 1919913c98
commit 671d170619
6728 changed files with 1994787 additions and 16 deletions

View File

@@ -0,0 +1 @@
"M@5

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/1.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/10.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/11.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/12.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/13.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/14.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/15.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/16.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/17.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/18.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/19.bz2 generated vendored Normal file

Binary file not shown.

View File

@@ -0,0 +1 @@
"M

View File

@@ -0,0 +1 @@
"M3

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/2.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/20.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/21.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/22.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/23.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/24.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/25.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/26.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/27.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/28.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/29.bz2 generated vendored Normal file

Binary file not shown.

View File

@@ -0,0 +1 @@
"M1A

View File

@@ -0,0 +1 @@
"MM@"ゥスソ<EFBDBD>+[ヤ

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/3.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/30.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/31.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/32.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/33.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/34.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/35.bz2 generated vendored Normal file

Binary file not shown.

BIN
vendor/github.com/pierrec/lz4/fuzz/corpus/36.bz2 generated vendored Normal file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More