Versions in this module Expand all Collapse all v1 v1.0.0 Jun 8, 2024 Changes in this version + func NewMiddleWare(service string, options ...Option) func(http.Handler) http.Handler + type Filter func(*http.Request) bool + type Handler struct + func (o *Handler) ServeHTTP(rr http.ResponseWriter, req *http.Request) + type Option interface + func WithFilter(f Filter) Option + func WithMeterProvider(provider metric.MeterProvider) Option + func WithPropagators(propagators propagation.TextMapPropagator) Option + func WithSpanNameFormatter(f SpanNameFormatter) Option + func WithTracerProvider(provider trace.TracerProvider) Option + type SpanNameFormatter func(operation string, req *http.Request) string