Skip to content

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

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
masterfrom
mcculls/patch-okhttp-daemon
May 11, 2026
Merged

Avoid potential shutdown delay when using GRPC protocol for OTLP#11321
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
masterfrom
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
@mcculls mcculls added this pull request to the merge queue May 11, 2026
@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented May 11, 2026

/merge

@gh-worker-devflow-routing-ef8351
Copy link
Copy Markdown

gh-worker-devflow-routing-ef8351 Bot commented May 11, 2026

View all feedbacks in Devflow UI.

2026-05-11 08:59:36 UTC ℹ️ Start processing command /merge


2026-05-11 08:59:41 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 1h (p90).


2026-05-11 10:27:34 UTC ℹ️ MergeQueue: This merge request was merged

@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 11, 2026
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot merged commit 8dda117 into master May 11, 2026
571 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot deleted the mcculls/patch-okhttp-daemon branch May 11, 2026 10:27
@github-actions github-actions Bot added this to the 1.63.0 milestone May 11, 2026
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.

2 participants