Skip to content

Avoid potential shutdown delay when using GRPC protocol for OTLP#11321

Open
mcculls wants to merge 1 commit intomasterfrom
mcculls/patch-okhttp-daemon
Open

Avoid potential shutdown delay when using GRPC protocol for OTLP#11321
mcculls wants to merge 1 commit intomasterfrom
mcculls/patch-okhttp-daemon

Conversation

@mcculls
Copy link
Copy Markdown
Contributor

@mcculls mcculls commented May 8, 2026

What Does This Do

Patch OkHttp's Util class to always create daemon threads

Motivation

This avoids a potential shutdown delay when using HTTP/2 connections, such as when using the GRPC protocol to export data over OTLP.

Additional Notes

DataDog/okhttp#18

Contributor Checklist

Jira ticket: [PROJ-IDENT]

Note: Once your PR is ready to merge, add it to the merge queue by commenting /merge. /merge -c cancels the queue request. /merge -f --reason "reason" skips all merge queue checks; please use this judiciously, as some checks do not run at the PR-level. For more information, see this doc.

@mcculls mcculls requested a review from a team as a code owner May 8, 2026 10:02
@mcculls mcculls requested a review from mhlidd May 8, 2026 10:02
@mcculls mcculls added type: bug Bug report and fix inst: opentelemetry OpenTelemetry instrumentation labels May 8, 2026
@mcculls mcculls requested review from PerfectSlayer and amarziali May 8, 2026 10:02
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7ed1b86dc7

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread dd-java-agent/build.gradle
This avoids a potential shutdown delay when using HTTP/2 connections,
such as when using the GRPC protocol to export data over OTLP.
@mcculls mcculls force-pushed the mcculls/patch-okhttp-daemon branch from 7ed1b86 to 63c0b78 Compare May 8, 2026 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

inst: opentelemetry OpenTelemetry instrumentation type: bug Bug report and fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant