GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Run JDK HTTP sender on non-daemon threads. by SoftlySplinter · Pull Request #7322 · open-telemetry/opentelemetry-java

Conversation

@SoftlySplinter

@SoftlySplinter SoftlySplinter commented May 6, 2025

Copy link
Copy Markdown
Contributor

Fixes #7321

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

linux-foundation-easycla Bot commented May 6, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: SoftlySplinter / name: Alex Brown (f98d0df, 00e7609, 589bf1f)
  • ✅ login: jack-berg (d72372e)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@codecov

codecov Bot commented May 6, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

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.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@SoftlySplinter SoftlySplinter closed this May 6, 2025
@SoftlySplinter SoftlySplinter reopened this May 6, 2025
@SoftlySplinter SoftlySplinter mentioned this pull request May 7, 2025
markdown-link-check fails with Too Many Requests #7327
Closed
jack-berg
jack-berg reviewed May 8, 2025
View reviewed changes

@jack-berg jack-berg left a comment

Copy link
Copy Markdown
Member

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!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread ...ers/sender/jdk/src/main/java/io/opentelemetry/exporter/sender/jdk/internal/JdkHtttpUtil.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ...ers/sender/jdk/src/main/java/io/opentelemetry/exporter/sender/jdk/internal/JdkHtttpUtil.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@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
SoftlySplinter added 3 commits May 14, 2025 12:24
@SoftlySplinter
Run JDK HTTP sender on non-daemon threads.
589bf1f
* Updated the default ExecutorService on JdkHttpSender to use the
  DaemonThreadFactory, instead of the JDK default.
@SoftlySplinter
Update test to propagate context in thread.
f98d0df
@SoftlySplinter
Review actions.
00e7609
- 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
Reduce visibility, remove propagateContextForTesting
d72372e
jack-berg
jack-berg approved these changes May 15, 2025
View reviewed changes
@jack-berg
jack-berg merged commit deeceeb into open-telemetry:main May 15, 2025
@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

Reviewers

@jack-berg jack-berg jack-berg approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Non-daemon thread in OTLP JDK HTTP sender

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@SoftlySplinter @jack-berg
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.