sentry-java
sentry-java copied to clipboard
POTEL 36 - POC Capture OpenTelemetry Events
:scroll: Description
OpenTelemetry spans can have events attached. This PR allows us to capture exceptions from ExceptionEventData
into Sentry if the captureOpenTelemetryEvents
option is enabled.
:bulb: Motivation and Context
Allows us to capture more errors. Doesn't require extra Sentry dependencies on the application for capturing errors - the agent alone is enough to capture errors.
:green_heart: How did you test it?
:pencil: Checklist
- [ ] I reviewed the submitted code.
- [ ] I added tests to verify the changes.
- [ ] No new PII added or SDK only sends newly added PII if
sendDefaultPII
is enabled. - [ ] I updated the docs if needed.
- [ ] Review from the native team if needed.
- [ ] No breaking change or entry added to the changelog.
- [ ] No breaking change for hybrid SDKs or communicated to hybrid SDKs.