Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*options)
Option represents a logger option.
func WithBaggage ¶
WithBaggage will set custom baggage to the span created by middleware
func WithName ¶
WithName will define a handler name (used in span operation name) for the span created by the middleware Default is derived from the function name if http.Handler being wrapped
func WithNamePrefix ¶
WithNamePrefix will define prefix for a operation name that is being created by middleware
func WithTracer ¶
func WithTracer(tracer opentracing.Tracer) Option
WithTracer adds list of headers that should be added to the logger
Click to show internal directories.
Click to hide internal directories.