You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dd-java-agent/agent-profiling/profiling-ddprof/src/main/java/com/datadog/profiling/ddprof/DatadogProfilingIntegration.java
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -117,6 +117,18 @@ public void onSpanFinished(AgentSpan span) {
117
117
span.getDurationNano(),
118
118
ctx.getEncodedOperationName(),
119
119
ctx.getEncodedResourceName());
120
+
// Emit the actual execution thread captured in finishAndAddToTrace() so the backend can
121
+
// correctly attribute each span to the thread that ran it, rather than the event loop thread
122
+
// that calls CoreTracer.write() and commits the SpanNode event above.
0 commit comments