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
Flush traces when spark application is finished (#6670)
Flush spans when the spark application finishes. Default timeout for the remoteWriter is 1 second so it will not block the main thread for more than 1 second
Motivation: Customer losing their spans because the JVM was shut down too quickly
Copy file name to clipboardExpand all lines: dd-java-agent/instrumentation/spark/src/main/java/datadog/trace/instrumentation/spark/AbstractDatadogSparkListener.java
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -213,6 +213,10 @@ public synchronized void finishApplication(
0 commit comments