mirror of
https://github.com/coredns/coredns.git
synced 2026-01-22 16:32:55 -05:00
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:
@@ -23,5 +23,7 @@ func setup(c *caddy.Controller) error {
|
||||
return Proxy{Next: next, Client: newClient(), Upstreams: upstreams}
|
||||
})
|
||||
|
||||
c.OnStartup(OnStartup)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user