Add tracing option (#487)

Adds a middleware to enable tracing with OpenTracing/OpenZipkin.
Enabling tracing will have a large impact on performance so it is
not advisable in production.
This commit is contained in:
John Belamaric
2017-01-23 15:40:47 -05:00
committed by GitHub
parent c62bd639ff
commit bc301be5ee
8 changed files with 261 additions and 0 deletions

View File

@@ -75,6 +75,7 @@ func RegisterDevDirective(name, before string) {
var directives = []string{
"root",
"bind",
"trace",
"health",
"pprof",