Documentation ¶
Index ¶
- func NewHTTPMiddleware(opts ...otelhttp.Option) func(http.Handler) http.Handler
- func NewJaegerExporter() (sdktrace.SpanExporter, error)
- func NewResource(serviceName string, version string, environment string) *resource.Resource
- func NewStdoutExporter() (sdktrace.SpanExporter, error)
- func NewTracerProvider(serviceName string, fraction float64) (*sdktrace.TracerProvider, func(), error)
- func NewUnaryClientInterceptor(opts ...otelgrpc.Option) grpc.UnaryClientInterceptor
- func NewUnaryServerInterceptor(opts ...otelgrpc.Option) grpc.UnaryServerInterceptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPMiddleware ¶
func NewJaegerExporter ¶
func NewJaegerExporter() (sdktrace.SpanExporter, error)
func NewResource ¶
func NewStdoutExporter ¶
func NewStdoutExporter() (sdktrace.SpanExporter, error)
func NewTracerProvider ¶
func NewTracerProvider(serviceName string, fraction float64) (*sdktrace.TracerProvider, func(), error)
func NewUnaryClientInterceptor ¶
func NewUnaryClientInterceptor(opts ...otelgrpc.Option) grpc.UnaryClientInterceptor
func NewUnaryServerInterceptor ¶
func NewUnaryServerInterceptor(opts ...otelgrpc.Option) grpc.UnaryServerInterceptor
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.