diff --git a/dd-trace-ot/src/main/java/datadog/opentracing/DDTracer.java b/dd-trace-ot/src/main/java/datadog/opentracing/DDTracer.java index be2db34e368..eb419c514a7 100644 --- a/dd-trace-ot/src/main/java/datadog/opentracing/DDTracer.java +++ b/dd-trace-ot/src/main/java/datadog/opentracing/DDTracer.java @@ -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; }