contrib/valkey-go

Those integration are enabled by having the following import in the project’s orchestrion.tool.go file:

import (
	_ "github.com/DataDog/orchestrion"

	_ "gopkg.in/DataDog/dd-trace-go.v1/contrib/valkey-go" // integration
	//...
)

Valkey client for Go.

NewClient

Join Point
Advice
Replace the expression using the template:
// Using the following synthetic imports:
import (
	valkeytrace "gopkg.in/DataDog/dd-trace-go.v1/contrib/valkey-go"
)
valkeytrace.NewClient({{ index .AST.Args 0 }})