Merge pull request #6037 from heyitsanthony/disable-tracing

etcdmain: disable grpc tracing by default
This commit is contained in:
Anthony Romano 2016-07-25 15:20:28 -07:00 committed by GitHub
commit 864947a825

View File

@ -43,6 +43,7 @@ import (
systemdutil "github.com/coreos/go-systemd/util"
"github.com/coreos/pkg/capnslog"
"github.com/prometheus/client_golang/prometheus"
"google.golang.org/grpc"
)
type dirType string
@ -56,6 +57,8 @@ var (
)
func startEtcdOrProxyV2() {
grpc.EnableTracing = false
cfg := newConfig()
err := cfg.parse(os.Args[1:])
if err != nil {