mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 02:03:20 -04: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