mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
pprof middleware (#138)
Add pprof middleware, enabled by pprof directive.
This commit is contained in:
@@ -46,6 +46,7 @@ var directiveOrder = []directive{
|
||||
{"bind", setup.BindHost},
|
||||
{"tls", https.Setup},
|
||||
{"health", setup.Health},
|
||||
{"pprof", setup.PProf},
|
||||
|
||||
// Other directives that don't create HTTP handlers
|
||||
{"startup", setup.Startup},
|
||||
|
||||
Reference in New Issue
Block a user