contrib/cloudevents/sdk-go.v2
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/cloudevents/sdk-go.v2/v2" // integration
//...
)CloudEvents Go SDK observability.
client.New
All of
- Call to
client.New - Not
- One of
- Import path
github.com/cloudevents/ sdk-go/ v2 - Import path
github.com/cloudevents/ sdk-go/ v2/ client
Redirect the call to
github.com/DataDog/dd-trace-go/contrib/cloudevents/sdk-go.v2/v2.NewClient .