@@ -17,7 +17,6 @@ import (
17
17
18
18
grpc_prometheus "github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus"
19
19
grpc_retry "github.com/grpc-ecosystem/go-grpc-middleware/retry"
20
- grpc_opentracing "github.com/grpc-ecosystem/go-grpc-middleware/tracing/opentracing"
21
20
)
22
21
23
22
// Deprecated: Use NewClient instead.
@@ -42,8 +41,6 @@ func NewClient(addr string) (*grpc.ClientConn, error) {
42
41
conn , err := grpc .NewClient (addr ,
43
42
grpc .WithTransportCredentials (insecure .NewCredentials ()),
44
43
grpc .WithChainStreamInterceptor (
45
- grpc_opentracing .StreamClientInterceptor (),
46
- grpc_opentracing .StreamClientInterceptor (),
47
44
grpc_retry .StreamClientInterceptor (opts ... ),
48
45
func (ctx context.Context , desc * grpc.StreamDesc , cc * grpc.ClientConn , method string , streamer grpc.Streamer , opts ... grpc.CallOption ) (grpc.ClientStream , error ) {
49
46
start := time .Now ()
@@ -57,7 +54,6 @@ func NewClient(addr string) (*grpc.ClientConn, error) {
57
54
},
58
55
),
59
56
grpc .WithChainUnaryInterceptor (
60
- grpc_opentracing .UnaryClientInterceptor (),
61
57
clientMetrics .UnaryClientInterceptor (),
62
58
grpc_retry .UnaryClientInterceptor (opts ... ),
63
59
func (ctx context.Context , method string , req , reply interface {}, cc * grpc.ClientConn , invoker grpc.UnaryInvoker , opts ... grpc.CallOption ) error {
0 commit comments