Documentation
¶
Index ¶
- func ContextWithSpan(ctx context.Context, span otracing.Span) context.Context
- func CreateChildSpanFromContext(ctx context.Context, operation string) otracing.Span
- func GlobalTracer() otracing.Tracer
- func Init(ctx context.Context, serviceName string) error
- func NewTracer(ctx context.Context, serviceName string) (otracing.Tracer, io.Closer, error)
- func SpanFromContext(ctx context.Context) otracing.Span
- func StartSpanFromContext(ctx context.Context, operationName string, opts ...otracing.StartSpanOption) (otracing.Span, context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithSpan ¶
ContextWithSpan - Returns Context with Span
func CreateChildSpanFromContext ¶
CreateChildSpanFromContext - Creates Child Span from Context Extracts parent span from context
func GlobalTracer ¶
GlobalTracer - Returns Instance of Global Tracer
func SpanFromContext ¶
SpanFromContext - Returns Span from Context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.