Closed
Description
Expected behavior
Parent thread pass Operation name/ Operation id to children thread
Actual behavior
Operation name/ Operation id is missing for manual created threads (new Thread().start()), but works fine with CompletableFuture.runAsync()
To Reproduce
telemetry.trackEvent(baseHeaders, null, membershipNbr, "AI_LOG_PARENT_THREAD");
new Thread(() -> telemetry.trackEvent(baseHeaders, null, membershipNbr, "AI_LOG_CHILDREN_THREAD_THREAD")).start();//Operation name/ Operation id missing HERE
CompletableFuture.runAsync(() -> telemetry.trackEvent(baseHeaders, null, membershipNbr, "AI_LOG_CHILDREN_THREAD_THREAD_POOL"));
System information
Please provide the following information:
- SDK Version:3.4.17
- OS type and version:ios, java 11
- Application Server type and version (if applicable):
- Using spring-boot?no
- Additional relevant libraries (with version, if applicable):