diff --git a/baseapp/grpcserver.go b/baseapp/grpcserver.go index ff0602748e6b..80b3ac1c7781 100644 --- a/baseapp/grpcserver.go +++ b/baseapp/grpcserver.go @@ -31,7 +31,6 @@ func (app *BaseApp) GRPCQueryRouter() *GRPCQueryRouter { return app.grpcQueryRou // RegisterGRPCServer registers gRPC services directly with the gRPC server. func (app *BaseApp) RegisterGRPCServer(server gogogrpc.Server, logQueries bool) { - tracer := otel.Tracer(tracerName) // Define an interceptor for all gRPC queries: this interceptor will create diff --git a/go.mod b/go.mod index 1a18e8ff77b8..bc3ee9eead0e 100644 --- a/go.mod +++ b/go.mod @@ -59,6 +59,7 @@ require ( github.com/stretchr/testify v1.9.0 github.com/tendermint/go-amino v0.16.0 github.com/tidwall/btree v1.6.0 + go.opentelemetry.io/otel v1.27.0 go.opentelemetry.io/otel/trace v1.27.0 golang.org/x/crypto v0.18.0 golang.org/x/exp v0.0.0-20231006140011-7918f672742d @@ -173,7 +174,6 @@ require ( github.com/zondax/ledger-go v0.14.0 // indirect go.etcd.io/bbolt v1.3.7 // indirect go.opencensus.io v0.24.0 // indirect - go.opentelemetry.io/otel v1.27.0 // indirect go.opentelemetry.io/otel/metric v1.27.0 // indirect golang.org/x/net v0.20.0 // indirect golang.org/x/oauth2 v0.16.0 // indirect