package
2.0.0-alpha4+incompatible
Repository: https://github.com/aspring/traefik.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

FromContext Gets Tracing from context.
GetSpan used to retrieve span from request context.
InjectRequestHeaders used to inject OpenTracing headers into the request.
LogEventf logs an event to the span in the request context.
LogRequest used to create span tags from the request.
LogResponseCode used to log response code in span.
NewTracing Creates a Tracing.
SetError flags the span associated with this request as in error.
SetErrorWithEvent flags the span associated with this request as in error and log an event.
StartSpan starts a new span from the one in the request context.
WithTracing Adds Tracing into the context.

# Constants

OperationNameMaxLengthNumber defines the number of static characters in a Span Trace name: 8 chars for hash + 2 chars for '_'.
SpanKindNoneEnum Span kind enum none.
TraceNameHashLength defines the number of characters to use from the head of the generated hash.

# Structs

Tracing middleware.

# Interfaces

TrackingBackend is an abstraction for tracking backend (Jaeger, Zipkin, ...).

# Type aliases

HTTPHeadersCarrier custom implementation to fix duplicated headers It has been fixed in https://github.com/opentracing/opentracing-go/pull/191.