0.6.0
OpenTracing API
Datadog APM Go Client 0.6.0 is the first version that implements an OpenTracing API. The library uses a compatibility layer on top of the previous datadog.Tracer
implementation, so we're still backward compatible with the previous API. It's highly suggested to start using the new API, since the previous tracer has been planned to be deprecated and removed in the next releases.
Backward compatibility
If you're using the legacy datadog.Tracer
, no actions are needed and you can safely jump to this release. What is not supported, is using both APIs in the same project. When an OpenTracing Tracer
is initialized, the datadog.DefaultTracer
is replaced so integrations can be used as usual with the new API.
To start using the new API, you can take a look at the following references:
Read the full changeset