Revert "add tracing for streaming rpc"

This reverts commit 8071e421ab7170765af71d381294185bd9d303a9.
This commit is contained in:
yangzhouhan
2015-06-17 19:21:04 -07:00
parent 8071e421ab
commit 4782e693c2
4 changed files with 21 additions and 224 deletions

View File

@ -44,10 +44,6 @@ import (
"golang.org/x/net/trace"
)
// EnableTracing controls whether to trace RPCs using the golang.org/x/net/trace package.
// This should only be set before any RPCs are sent or received by this program.
var EnableTracing = true
// methodFamily returns the trace family for the given method.
// It turns "/pkg.Service/GetFoo" into "pkg.Service".
func methodFamily(m string) string {