package
1.39.7
Repository: https://github.com/liquidm/dd-trace-go.git
Documentation: pkg.go.dev

# Functions

NewRoundTripper returns a new http.Client which traces requests under the given service name.
WithAnalytics enables Trace Analytics for all started spans.
WithAnalyticsRate sets the sampling rate for Trace Analytics events correlated to started spans.
WithResourceNamer specifies a quantizing function which will be used to obtain a resource name for a given ElasticSearch request, using the request's URL and method.
WithServiceName sets the given service name for the client.
WithTransport sets the given transport as an http.Transport for the client.

# Type aliases

ClientOption represents an option that can be used when creating a client.