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

# Functions

NewClient returns a new Client that is traced with the default tracer under the service name "redis".
WithAnalytics enables Trace Analytics for all started spans.
WithAnalyticsRate sets the sampling rate for Trace Analytics events correlated to started spans.
WithServiceName sets the given service name for the client.
WrapClient wraps a given redis.Client with a tracer under the given service name.

# Structs

Client is used to trace requests to a redis server.
Pipeliner is used to trace pipelines executed on a Redis server.

# Type aliases

ClientOption represents an option that can be used to create or wrap a client.