Skip to content

Commit 98d78e8

Browse files
committed
Enable Code Origin with Dynamic instrumentation
When Di is enabled we are automatically starting the Code Origin for Spans product
1 parent c4c5d62 commit 98d78e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dd-java-agent/agent-debugger/src/main/java/com/datadog/debugger/agent/DebuggerAgent.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public static synchronized void run(Instrumentation inst, SharedCommunicationObj
8989
}
9090
if (config.isDynamicInstrumentationEnabled()) {
9191
startDynamicInstrumentation();
92+
startCodeOriginForSpans();
9293
if (config.getDynamicInstrumentationInstrumentTheWorld() != null) {
9394
setupInstrumentTheWorldTransformer(config, instrumentation, sink);
9495
}

0 commit comments

Comments
 (0)