-
Notifications
You must be signed in to change notification settings - Fork 910
Run JDK HTTP sender on non-daemon threads. #7322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run JDK HTTP sender on non-daemon threads. #7322
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7322 +/- ##
=========================================
Coverage 89.87% 89.87%
- Complexity 6898 6899 +1
=========================================
Files 786 786
Lines 20792 20793 +1
Branches 2026 2026
=========================================
+ Hits 18686 18687 +1
Misses 1465 1465
Partials 641 641 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one minor comment. Thanks for the contribution!
...ers/sender/jdk/src/main/java/io/opentelemetry/exporter/sender/jdk/internal/JdkHtttpUtil.java
Outdated
Show resolved
Hide resolved
...ers/sender/jdk/src/main/java/io/opentelemetry/exporter/sender/jdk/internal/JdkHtttpUtil.java
Outdated
Show resolved
Hide resolved
74dc274 to
3f8f823
Compare
9246d65 to
868f887
Compare
* Updated the default ExecutorService on JdkHttpSender to use the DaemonThreadFactory, instead of the JDK default.
- Moved the functions in JdkHttpUtil to JdkHttpSender. - Updated test.
868f887 to
00e7609
Compare
Fixes #7321
Updated the default ExecutorService on JdkHttpSender to use the DaemonThreadFactory, instead of the JDK default.