Documentation
Overview ¶
Package otelmacaron instruments gopkg.in/macaron.v1.
Currently only the routing of a received message can be instrumented. To do it, use the Middleware function.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option interface {
Apply(*config)
}
Option applies an option value for a config.
func WithPropagators ¶
func WithPropagators(p propagation.TextMapPropagator) Option
WithPropagators returns an Option to use the Propagators when extracting and injecting trace context from HTTP requests.
func WithTracerProvider ¶
func WithTracerProvider(tp trace.TracerProvider) Option
WithTracerProvider returns an Option to use the TracerProvider when creating a Tracer.