KEMBAR78
Run JDK HTTP sender on non-daemon threads. by SoftlySplinter · Pull Request #7322 · open-telemetry/opentelemetry-java · GitHub
Skip to content

Conversation

SoftlySplinter
Copy link
Contributor

Fixes #7321

Updated the default ExecutorService on JdkHttpSender to use the DaemonThreadFactory, instead of the JDK default.

@SoftlySplinter SoftlySplinter requested a review from a team as a code owner May 6, 2025 13:55
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented May 6, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@codecov
Copy link

codecov bot commented May 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.87%. Comparing base (bed02d5) to head (d72372e).
Report is 6 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@jack-berg jack-berg left a 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!

@SoftlySplinter SoftlySplinter force-pushed the jdkhttpsender-daemon-executor branch from 74dc274 to 3f8f823 Compare May 12, 2025 15:14
@SoftlySplinter SoftlySplinter requested a review from jack-berg May 12, 2025 15:14
@SoftlySplinter SoftlySplinter force-pushed the jdkhttpsender-daemon-executor branch 2 times, most recently from 9246d65 to 868f887 Compare May 12, 2025 16:04
* Updated the default ExecutorService on JdkHttpSender to use the
  DaemonThreadFactory, instead of the JDK default.
- Moved the functions in JdkHttpUtil to JdkHttpSender.
- Updated test.
@SoftlySplinter SoftlySplinter force-pushed the jdkhttpsender-daemon-executor branch from 868f887 to 00e7609 Compare May 14, 2025 11:24
@jack-berg jack-berg merged commit deeceeb into open-telemetry:main May 15, 2025
28 checks passed
@SoftlySplinter SoftlySplinter deleted the jdkhttpsender-daemon-executor branch May 16, 2025 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Non-daemon thread in OTLP JDK HTTP sender

2 participants