Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EnableGRPCTracingDialOption = grpc.WithUnaryInterceptor(grpc.UnaryClientInterceptor(clientInterceptor))
EnableGRPCTracingDialOption enables tracing of requests that are sent over a gRPC connection. Modified version of: https://github.com/GoogleCloudPlatform/google-cloud-go/blob/master/trace/trace.go#L242-L265
Functions ¶
func EnableGRPCTracingServerOption ¶
func EnableGRPCTracingServerOption(traceClient *trace.Client) grpc.ServerOption
EnableGRPCTracingServerOption enables parsing google trace header from metadata and adds a new child span to the context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.