package
1.7.0-rc3
Repository: https://github.com/blrn/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

# Functions

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.
SetError flags the span associated with this request as in error.
SetErrorAndDebugLog flags the span associated with this request as in error and create a debug log.
SetErrorAndWarnLog flags the span associated with this request as in error and create a debug log.
StartSpan starts a new span from the one in the request context.

# Constants

EntryPointMaxLengthNumber defines the number of static characters in the Entrypoint Span Trace name : 11 chars for 'Entrypoint ' + 8 chars for hash + 2 chars for '_'.
ForwardMaxLengthNumber defines the number of static characters in the Forwarding Span Trace name : 8 chars for 'forward ' + 8 chars for hash + 2 chars for '_'.
TraceNameHashLength defines the number of characters to use from the head of the generated hash.

# Structs

HTTPHandlerWrapper is used to wrap http handler middleware.
NegroniHandlerWrapper is used to wrap negroni handler middleware.
Tracing middleware.

# Interfaces

Backend describes things we can use to setup tracing.