Versions in this module Expand all Collapse all v1 v1.0.2 May 10, 2023 Changes in this version + func Middleware(opts ...Option) func(next http.Handler) http.Handler + type Option func(*config) + func WithAnalytics(on bool) Option + func WithAnalyticsRate(rate float64) Option + func WithIgnoreRequest(fn func(r *http.Request) bool) Option + func WithServiceName(name string) Option + func WithSpanOptions(opts ...ddtrace.StartSpanOption) Option + func WithStatusCheck(fn func(statusCode int) bool) Option