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"

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

A fast Golang Redis client that does auto pipelining and supports server-assisted client-side caching.

NewClient

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