contrib/redis/rueidis
Those integration are enabled by having the
following import in the project’s orchestrion.tool.go file:
import (
_ "github.com/DataDog/orchestrion"
_ "github.com/DataDog/dd-trace-go/contrib/redis/rueidis/v2" // integration
//...
)A fast Golang Redis client that does auto pipelining and supports server-assisted client-side caching.
NewClient
Call to
rueidis.NewClientReplace the expression using the template:
// Using the following synthetic imports:
import (
rueidistrace "github.com/DataDog/dd-trace-go/contrib/redis/rueidis/v2"
)rueidistrace.NewClient({{ index .AST.Args 0 }})