Skip to content

Commit

Permalink
Custom ScopeManagers are deprecated and will be removed in a future r…
Browse files Browse the repository at this point in the history
…elease of dd-trace-ot (#8058)
  • Loading branch information
mcculls authored Dec 5, 2024
1 parent 70a9d04 commit 6d420cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dd-trace-ot/src/main/java/datadog/opentracing/DDTracer.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,10 @@ public DDTracerBuilder extractor(HttpCodec.Extractor extractor) {
return this;
}

@Deprecated
public DDTracerBuilder scopeManager(ScopeManager scopeManager) {
log.warn(
"Custom ScopeManagers are deprecated and will be removed in a future release of dd-trace-ot");
this.scopeManager = scopeManager;
return this;
}
Expand Down

0 comments on commit 6d420cc

Please sign in to comment.