# Functions
NewServeMux allocates and returns an http.ServeMux augmented with the global tracer.
NoDebugStack prevents stack traces from being attached to spans finishing with an error.
RTWithAnalytics enables Trace Analytics for all started spans.
RTWithAnalyticsRate sets the sampling rate for Trace Analytics events correlated to started spans.
RTWithResourceNamer specifies a function which will be used to obtain the resource name for a given request.
RTWithServiceName sets the given service name for the RoundTripper.
RTWithSpanOptions defines a set of additional ddtrace.StartSpanOption to be added to spans started by the integration.
TraceAndServe serves the handler h using the given ResponseWriter and Request, applying tracing according to the specified config.
WithAfter adds a RoundTripperAfterFunc to the RoundTripper config.
WithAnalytics enables Trace Analytics for all started spans.
WithAnalyticsRate sets the sampling rate for Trace Analytics events correlated to started spans.
WithBefore adds a RoundTripperBeforeFunc to the RoundTripper config.
WithIgnoreRequest holds the function to use for determining if the incoming HTTP request tracing should be skipped.
WithResourceNamer populates the name of a resource based on a custom function.
WithServiceName sets the given service name for the returned ServeMux.
WithSpanOptions defines a set of additional ddtrace.StartSpanOption to be added to spans started by the integration.
WrapClient modifies the given client's transport to augment it with tracing and returns it.
WrapHandler wraps an http.Handler with tracing using the given service and resource.
WrapRoundTripper returns a new RoundTripper which traces all requests sent over the transport.
# Structs
ServeConfig specifies the tracing configuration when using TraceAndServe.
ServeMux is an HTTP request multiplexer that traces all the incoming requests.
# Type aliases
MuxOption has been deprecated in favor of Option.
Option represents an option that can be passed to NewServeMux or WrapHandler.
A RoundTripperAfterFunc can be used to modify a span after an http RoundTrip is made.
A RoundTripperBeforeFunc can be used to modify a span before an http RoundTrip is made.
A RoundTripperOption represents an option that can be passed to WrapRoundTripper.