mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 16:42:36 +08:00
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:

committed by
GitHub

parent
c755ceae31
commit
fcc2f01c7e
@ -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()),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user