Skip to content
Open
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 @@ -269,6 +269,7 @@
0 org.springframework.boot.SpringApplicationRunListeners
1 org.springframework.boot.SpringApplicationShutdownHook$Handlers
1 org.springframework.boot.autoconfigure.ssl.FileWatcher$WatcherThread
1 org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController
2 org.springframework.boot.*
0 org.apache.xalan.transformer.TransformerImpl
# More runnables to deal with
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ abstract class GrpcTest extends VersionedNamingTestBase {
@Override
protected void configurePreAgent() {
super.configurePreAgent()
codeOriginSetup()
injectSysConfig("dd.trace.grpc.ignored.inbound.methods", "example.Greeter/IgnoreInbound")
injectSysConfig("dd.trace.grpc.ignored.outbound.methods", "example.Greeter/Ignore")
if (hasClientMessageSpans()) {
Expand Down Expand Up @@ -689,12 +690,6 @@ class GrpcDataStreamsEnabledV0Test extends GrpcDataStreamsEnabledForkedTest {

class GrpcDataStreamsEnabledV1ForkedTest extends GrpcDataStreamsEnabledForkedTest {

@Override
protected void configurePreAgent() {
super.configurePreAgent()
codeOriginSetup()
}

@Override
int version() {
return 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ abstract class KafkaClientTestBase extends VersionedNamingTestBase {
@Override
void configurePreAgent() {
super.configurePreAgent()

codeOriginSetup()
injectSysConfig("dd.kafka.e2e.duration.enabled", "true")
}

Expand Down Expand Up @@ -1024,12 +1024,6 @@ class KafkaClientV0ForkedTest extends KafkaClientForkedTest {
}

class KafkaClientV1ForkedTest extends KafkaClientForkedTest {
@Override
void configurePreAgent() {
super.configurePreAgent()
codeOriginSetup()
}

@Override
int version() {
1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public final class ConfigDefaults {
static final boolean DEFAULT_WRITER_BAGGAGE_INJECT = true;
static final String DEFAULT_SITE = "datadoghq.com";

static final boolean DEFAULT_CODE_ORIGIN_FOR_SPANS_ENABLED = false;
static final boolean DEFAULT_CODE_ORIGIN_FOR_SPANS_ENABLED = true;
static final int DEFAULT_CODE_ORIGIN_MAX_USER_FRAMES = 8;
static final boolean DEFAULT_TRACE_SPAN_ORIGIN_ENRICHED = false;
static final boolean DEFAULT_TRACE_ENABLED = true;
Expand Down
2 changes: 1 addition & 1 deletion internal-api/src/main/java/datadog/trace/api/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -4263,7 +4263,7 @@ public String getFinalDebuggerSnapshotUrl() {
} else if (isCiVisibilityAgentlessEnabled()) {
return Intake.LOGS.getAgentlessUrl(this) + "logs";
} else {
throw new IllegalArgumentException("Cannot find snapshot endpoint on datadog agent");
return getFinalDebuggerBaseUrl() + "/debugger/v1/diagnostics";
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class DebuggerConfigBridgeTest extends Specification {
then:
!DebuggerConfigBridge.isDynamicInstrumentationEnabled()
!DebuggerConfigBridge.isExceptionReplayEnabled()
!DebuggerConfigBridge.isCodeOriginEnabled()
DebuggerConfigBridge.isCodeOriginEnabled()
!DebuggerConfigBridge.isDistributedDebuggerEnabled()

when:
Expand Down