package
0.0.0-20190628093746-affaa533fc2e
Repository: https://github.com/szymongib/kyma.git
Documentation: pkg.go.dev

# Functions

CreateTraceTagsFromMessageHeader returns a map of trace headers.
FinishSpan finishes the opentracing.Span.
GetDefaultTraceOptions returns a default trace options instance.
ReadTraceHeaders returns an opentracing.SpanContext instance.
SetSpanTags sets the opentracing.Span tags.
StartNewTracer starts a new tracer.
StartSpan starts and returns an opentracing.Span instance.
TagSpanAsError tags the opentracing.Span as an error with the error details.
WriteSpan writes the given opentracing.Span and returns an api.TraceContext instance.

# Constants

DefaultTraceAPIURL trace option.
DefaultTraceDebug trace option.
DefaultTraceHostPort trace option.
DefaultTraceOperationName trace option.
DefaultTraceServiceName trace option.
HeaderEventID header.
HeaderEventTime header.
HeaderEventType header.
HeaderEventTypeVersion header.
HeaderSourceID header.
HeaderSpecVersion header.
SpecVersion CE header value.

# Structs

OpenTracer represents an open tracer.
Options represents the trace options.

# Interfaces

Tracer encapsulates the trace behaviours.