Browse Source

Merge pull request #6037 from heyitsanthony/disable-tracing

etcdmain: disable grpc tracing by default
Anthony Romano 9 years ago
parent
commit
864947a825
1 changed files with 3 additions and 0 deletions
  1. 3 0
      etcdmain/etcd.go

+ 3 - 0
etcdmain/etcd.go

@@ -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 {