contrib/valkey-io/valkey-go
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/valkey-io/valkey-go/v2" // integration
//...
)Valkey client for Go.
NewClient
Call to
valkey.NewClientReplace the expression using the template:
// Using the following synthetic imports:
import (
valkeytrace "github.com/DataDog/dd-trace-go/contrib/valkey-io/valkey-go/v2"
)valkeytrace.NewClient({{ index .AST.Args 0 }})