middleware/proxy: add request duration monitoring (#362)

Add a separate request duration metrics specially for proxying requests
upstream.

Fixes #259
This commit is contained in:
Miek Gieben 2016-10-28 12:54:49 +01:00 committed by GitHub
parent ba26f47d5c
commit 54964653d1
5 changed files with 52 additions and 2 deletions

View file

@ -13,8 +13,6 @@ import (
"github.com/miekg/dns"
)
// This tests uses the exampleOrg zone as defined in proxy_test.go
func TestLookupCache(t *testing.T) {
// Start auth. CoreDNS holding the auth zone.
name, rm, err := test.TempFile(".", exampleOrg)