-
-
Notifications
You must be signed in to change notification settings - Fork 444
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
POTEL 69 - Hold a strong reference to OpenTelemetry span if created v…
…ia Sentry API (#3997) * add agentless module for OpenTelemetry setup without any agent * Replace bool with enum for OpenTelemetryUtil mode * Move OpenTelemetryUtil into core sentry * Add openTelemetryMode option * Add SentryOpenTelemetryMode.OFF * fix HubAdapter and ScopeAdapter tests by calling Sentry.init so that the ScopesStorage is initialized * Hold a strong reference to OTel span if created via Sentry API * fix tests * fix build * changelog * fix agentless due to late call to SpanFactoryFactory * Format code * changelog * fix order of scope storage close vs scopes close * changelog * use initForTest * use initForTest * Update sentry-opentelemetry/sentry-opentelemetry-bootstrap/src/main/java/io/sentry/opentelemetry/OtelStrongRefSpanWrapper.java Co-authored-by: Lukas Bloder <[email protected]> --------- Co-authored-by: Lukas Bloder <[email protected]> Co-authored-by: Sentry Github Bot <[email protected]>
- Loading branch information
1 parent
5a15f74
commit d91b2d7
Showing
7 changed files
with
382 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.