etcdmain: disable grpc tracing by default
This commit is contained in:
@ -43,6 +43,7 @@ import (
|
|||||||
systemdutil "github.com/coreos/go-systemd/util"
|
systemdutil "github.com/coreos/go-systemd/util"
|
||||||
"github.com/coreos/pkg/capnslog"
|
"github.com/coreos/pkg/capnslog"
|
||||||
"github.com/prometheus/client_golang/prometheus"
|
"github.com/prometheus/client_golang/prometheus"
|
||||||
|
"google.golang.org/grpc"
|
||||||
)
|
)
|
||||||
|
|
||||||
type dirType string
|
type dirType string
|
||||||
@ -56,6 +57,8 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func startEtcdOrProxyV2() {
|
func startEtcdOrProxyV2() {
|
||||||
|
grpc.EnableTracing = false
|
||||||
|
|
||||||
cfg := newConfig()
|
cfg := newConfig()
|
||||||
err := cfg.parse(os.Args[1:])
|
err := cfg.parse(os.Args[1:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user