Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DatadogToOpenCensusUnaryInterceptor ¶
func DatadogToOpenCensusUnaryInterceptor(serviceName string) grpc.UnaryClientInterceptor
DatadogToOpenCensusUnaryInterceptor is used when your application is using Datadog for tracing, but the called client is using OpenCensus.
The interceptor will create a Datadog span and inject the span as gRPC metadata according to: https://github.com/census-instrumentation/opencensus-go/tree/master/plugin/ocgrpc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.