package
0.0.0-20211111133552-50dcf71f82ec
Repository: https://github.com/johejo/dd-trace-go-redis.git
Documentation: pkg.go.dev

# Functions

NewClient returns a new Client that is traced with the default tracer under the service name "redis".
No description provided by the author
WithAnalytics enables Trace Analytics for all started spans.
WithAnalyticsRate sets the sampling rate for Trace Analytics events correlated to started spans.
WithDB sets the db for the client.
WithHost sets the host for the client.
WithPort sets the port for the client.
WithRedisOptions sets the redis.Option for the client.
WithServiceName sets the given service name for the client.
WrapClient wraps a given redis.Client with a tracer under the given service name.

# Structs

No description provided by the author

# Type aliases

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