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
  • Loading branch information
mcculls committed Dec 5, 2024
1 parent 5b58772 commit a5eccec
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 a5eccec

Please sign in to comment.