contrib/twmb/franz-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/twmb/franz-go/v2" // integration
//...
)Franz-Go Kafka client library for Go.
Client
Call to
kgo.NewClientAppend the following
kgo.Opt arguments to the function call:// Using the following synthetic imports: import ( kgotrace "github.com/DataDog/dd-trace-go/contrib/twmb/franz-go/v2" )kgotrace.WithTracing()