mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #6037 from heyitsanthony/disable-tracing
etcdmain: disable grpc tracing by default
This commit is contained in:
commit
864947a825
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user