jaeger

package
v0.0.0-...-0451d2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Span

type Span struct {
	// contains filtered or unexported fields
}

func (Span) End

func (s Span) End() error

func (Span) Error

func (s Span) Error(err error)

type Tracer

type Tracer struct {
	// contains filtered or unexported fields
}

func NewTracerProvider

func NewTracerProvider(url, serviceName, envMode string) (*Tracer, error)

func (Tracer) Shutdown

func (t Tracer) Shutdown(ctx context.Context) error

func (*Tracer) StartSpan

func (t *Tracer) StartSpan(ctx context.Context, name string, opts ...telemetry.SpanOption) (context.Context, telemetry.Span)

type TracerGrpcInterceptor

type TracerGrpcInterceptor struct {
	// contains filtered or unexported fields
}

func NewTracerGrpcInterceptor

func NewTracerGrpcInterceptor(tracer Tracer) *TracerGrpcInterceptor

func (*TracerGrpcInterceptor) UnaryClientInterceptor

func (i *TracerGrpcInterceptor) UnaryClientInterceptor() func(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL