Conversation
|
Sorry if this isn't the correct place for questions, but the release notes linked here first so I figured I'd give it a shot. I'm not 100% clear if I need to update our application to support 0.46.0. We're not using $rootSpan = \DDTrace\GlobalTracer::get()
->getRootScope()
->getSpan();or starting a new span with /* @var \DDTrace\Scope $scope */
$scope = \DDTrace\GlobalTracer::get()->startActiveSpan($spanName);
/* @var \DDTrace\Span $span */
$span = $scope->getSpan();If that's our main usage, and we're not using Thank you for the help and the great package! |
No, nothing specific needs to be done for the current PR.
Starting from 0.46.0 you MUST register |
|
Great, thanks for the confirmation! |
Description
This PR removes the legacy API from the OpenTracing implementation. This introduces a breaking change in the way OpenTracing is initialized with ddtrace. Before this change, an OpenTracing-compatible tracer (
\DDTrace\OpenTracer\Tracer) would be automatically returned from\OpenTracing\GlobalTracer::get(). After this change, the OpenTracing-compatible tracer must be set manually.The OpenTracing documentation will be updated as part of this PR.
Edit: Preview link of the documentation changes from DataDog/documentation#7528.
Readiness checklist
Reviewer checklist