File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
dd-trace-core/src/main/java/datadog/trace/core
internal-api/src/main/java/datadog/trace/bootstrap/instrumentation/api Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3131import datadog .trace .bootstrap .instrumentation .api .SpanWrapper ;
3232import datadog .trace .bootstrap .instrumentation .api .Tags ;
3333import datadog .trace .core .util .StackTraces ;
34+ import edu .umd .cs .findbugs .annotations .NonNull ;
3435import java .util .Collections ;
3536import java .util .List ;
3637import java .util .Map ;
3940import java .util .concurrent .atomic .AtomicReferenceFieldUpdater ;
4041import javax .annotation .Nonnull ;
4142import javax .annotation .Nullable ;
42- import edu .umd .cs .findbugs .annotations .NonNull ;
4343import org .slf4j .Logger ;
4444import org .slf4j .LoggerFactory ;
4545
Original file line number Diff line number Diff line change 11package datadog .trace .bootstrap .instrumentation .api ;
22
33/**
4- * Interface implemented by span wrappers such as OpenTelemetry and OpenTracing spans.
5- * Provides a callback that is invoked when the underlying span is finished.
6- * This guarantees that wrapper specific logic runs when spans are auto-finished.
4+ * Interface implemented by span wrappers such as OpenTelemetry and OpenTracing spans. Provides a
5+ * callback that is invoked when the underlying span is finished. This guarantees that wrapper
6+ * specific logic runs when spans are auto-finished.
77 */
88public interface SpanWrapper {
99 default void onSpanFinished () {}
You can’t perform that action at this time.
0 commit comments