sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

Set thread information on transaction from OpenTelemetry attributes

Open lcian opened this issue 4 months ago • 1 comments

:scroll: Description

If present, grabs the thread attributes from the OTEL span to populate transaction.data.thread.id and transaction.data.thread.name.

:bulb: Motivation and Context

Closes #4336

:green_heart: How did you test it?

Manual testing.

:pencil: Checklist

  • [ ] I added tests to verify the changes.
  • [X] No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • [X] I updated the docs if needed.
  • [X] I updated the wizard if needed.
  • [X] Review from the native team if needed.
  • [X] No breaking change or entry added to the changelog.
  • [X] No breaking change for hybrid SDKs or communicated to hybrid SDKs.

lcian avatar Jun 06 '25 15:06 lcian