Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupTracing ¶
func SetupTracing(config jaeger.Config, errorHandler emperror.ErrorHandler)
Types ¶
type Tracer ¶
type Tracer interface { // StartSpan starts a span with the given name and context StartSpan(ctx context.Context, name string) (context.Context, *CiSpan) // StartWithTags starts a new span and adds the tags to it as attributes StartWithTags(ctx context.Context, name string, tags map[string]interface{}) (context.Context, *CiSpan) // StartAndLink starts a new root span and links it with the span from the passed in context StartAndLink(parentCtx context.Context, name string) (context.Context, *CiSpan) // EndSpan ends a span in the given context EndSpan(ctx context.Context) EndSpanInstance(span *CiSpan) }
Tracer represents the application specific view of tracing It's meant to collect all tracing related operations
func NewNoOpTracer ¶
func NewNoOpTracer() Tracer
Click to show internal directories.
Click to hide internal directories.