tracing

package
v0.0.0-...-7adb35c Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextWithSpanLogger

func ContextWithSpanLogger(ctx context.Context, span opentracing.Span) context.Context

ContextWithSpanLogger adds the information of the given span to the given context's logger.

func CreateSpan

func CreateSpan(ctx context.Context, operationName string) (opentracing.Span, context.Context)

CreateSpan creates a span from the current context and returns the span as well as a context with a decorated logger.

func NewTracer

func NewTracer(ctx context.Context, serviceName string, development bool) io.Closer

Types

This section is empty.

Jump to

Keyboard shortcuts

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