Chore: Update otel deps (#78069)

Co-authored-by: Giuseppe Guerra <giuseppe@guerra.in>
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
This commit is contained in:
Andres Martinez Gotor
2023-11-14 14:14:15 +01:00
committed by GitHub
parent c755ceae31
commit fcc2f01c7e
4 changed files with 60 additions and 55 deletions

View File

@ -54,13 +54,12 @@ func newClientConfig(executablePath string, args []string, env []string, 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()),
},
}
}