Documentation
¶
Index ¶
- Constants
- func Initialize(ctx context.Context, opts ...Option) (*trace.TracerProvider, error)
- func InitializeWithCustomTracer(tp *trace.TracerProvider, propagator propagation.TextMapPropagator)
- func StreamClientInterceptor() grpc.StreamClientInterceptor
- func StreamServerInterceptor() grpc.StreamServerInterceptor
- func TracingMiddleware() gin.HandlerFunc
- func UnaryClientInterceptor() grpc.UnaryClientInterceptor
- func UnaryServerInterceptor() grpc.UnaryServerInterceptor
- type Option
Constants ¶
View Source
const ( EndpointType_GRPC _EndpointType = "grpc" EndpointType_HTTP _EndpointType = "http" )
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func InitializeWithCustomTracer ¶
func InitializeWithCustomTracer(tp *trace.TracerProvider, propagator propagation.TextMapPropagator)
func StreamClientInterceptor ¶
func StreamClientInterceptor() grpc.StreamClientInterceptor
func StreamServerInterceptor ¶
func StreamServerInterceptor() grpc.StreamServerInterceptor
func TracingMiddleware ¶ added in v0.3.2
func TracingMiddleware() gin.HandlerFunc
gin middleware for tracing
func UnaryClientInterceptor ¶
func UnaryClientInterceptor() grpc.UnaryClientInterceptor
func UnaryServerInterceptor ¶
func UnaryServerInterceptor() grpc.UnaryServerInterceptor
Types ¶
type Option ¶
type Option func(*config)
func EndpointType ¶
func EndpointType(endpointType _EndpointType) Option
func ServiceName ¶
func ServiceVersion ¶
Click to show internal directories.
Click to hide internal directories.