Documentation ¶
Index ¶
- func StreamClientInterceptor(tracer Tracer) grpc.StreamClientInterceptor
- func StreamServerInterceptor(tracer Tracer) grpc.StreamServerInterceptor
- func UnaryClientInterceptor(tracer Tracer) grpc.UnaryClientInterceptor
- func UnaryServerInterceptor(tracer Tracer) grpc.UnaryServerInterceptor
- type Tracer
- type TracerParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamClientInterceptor ¶
func StreamClientInterceptor(tracer Tracer) grpc.StreamClientInterceptor
StreamClientInterceptor for opentracing.
func StreamServerInterceptor ¶
func StreamServerInterceptor(tracer Tracer) grpc.StreamServerInterceptor
StreamServerInterceptor for opentracing.
func UnaryClientInterceptor ¶
func UnaryClientInterceptor(tracer Tracer) grpc.UnaryClientInterceptor
UnaryClientInterceptor for opentracing.
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(tracer Tracer) grpc.UnaryServerInterceptor
UnaryServerInterceptor for opentracing.
Types ¶
type Tracer ¶ added in v1.58.0
type Tracer opentracing.Tracer
Tracer for opentracing.
func NewTracer ¶ added in v1.64.0
func NewTracer(params TracerParams) (Tracer, error)
NewTracer for opentracing.
type TracerParams ¶ added in v1.65.0
type TracerParams struct { fx.In Lifecycle fx.Lifecycle Config *sopentracing.Config Version version.Version }
TracerParams for opentracing.
Click to show internal directories.
Click to hide internal directories.