Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -965,11 +965,6 @@ public AgentSpan activeSpan() {
return scopeManager.activeSpan();
}

@Override
public AgentScope activeScope() {
return scopeManager.active();
}

@Override
public void checkpointActiveForRollback() {
this.scopeManager.checkpointActiveForRollback();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,6 @@ public static AgentSpan activeSpan() {
return get().activeSpan();
}

/** @deprecated To be removed, do not use. */
@Deprecated
public static AgentScope activeScope() {
return get().activeScope();
}

/**
* Checks whether asynchronous propagation is enabled, meaning this context will propagate across
* asynchronous boundaries.
Expand Down Expand Up @@ -368,8 +362,6 @@ AgentSpan startSpan(

AgentSpan activeSpan();

AgentScope activeScope();

default AgentSpan blackholeSpan() {
final AgentSpan active = activeSpan();
return new BlackHoleSpan(active != null ? active.getTraceId() : DDTraceId.ZERO);
Expand Down Expand Up @@ -539,11 +531,6 @@ public AgentSpan activeSpan() {
return NoopSpan.INSTANCE;
}

@Override
public AgentScope activeScope() {
return null;
}

@Override
public AgentSpan blackholeSpan() {
return NoopSpan.INSTANCE; // no-op tracer stays no-op
Expand Down