Plugins: Bump otelgrpc instrumentation to 0.47.0 (#83674)
* bump dep * go mod tidy * add replace * bump go.opentelemetry.io/otel/sdk * fixup * fix linter
This commit is contained in:
@@ -42,13 +42,12 @@ func newClientConfig(executablePath string, env []string, logger log.Logger,
|
||||
AllowedProtocols: []goplugin.Protocol{goplugin.ProtocolGRPC},
|
||||
GRPCDialOptions: []grpc.DialOption{
|
||||
grpc.WithChainUnaryInterceptor(
|
||||
otelgrpc.UnaryClientInterceptor(),
|
||||
grpc_opentracing.UnaryClientInterceptor(),
|
||||
),
|
||||
grpc.WithChainStreamInterceptor(
|
||||
otelgrpc.StreamClientInterceptor(),
|
||||
grpc_opentracing.StreamClientInterceptor(),
|
||||
),
|
||||
grpc.WithStatsHandler(otelgrpc.NewClientHandler()),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user