-
-
Notifications
You must be signed in to change notification settings - Fork 461
POTEL 20 - Use SpanOptions.startTimestamp in Span constructor
#3498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
78 commits
Select commit
Hold shift + click to select a range
305baf5
replace hub with scopes
adinauer 95f5e1b
Add Scopes
adinauer 27f2398
Introduce `IScopes` interface.
adinauer ce3c14f
Replace `IHub` with `IScopes` in core
adinauer ce615f4
Replace `IHub` with `IScopes` in android core
adinauer 22ddc00
Replace `IHub` with `IScopes` in android integrations
adinauer 305c217
Replace `IHub` with `IScopes` in apollo integrations
adinauer da927bc
Replace `IHub` with `IScopes` in okhttp integration
adinauer 8279276
Replace `IHub` with `IScopes` in graphql integration
adinauer 9bfc086
Replace `IHub` with `IScopes` in logging integrations
adinauer b998e50
Replace `IHub` with `IScopes` in more integrations
adinauer 739827a
Replace `IHub` with `IScopes` in OTel integration
adinauer 69f2d63
Replace `IHub` with `IScopes` in Spring 5 / Spring Boot 2 integrations
adinauer 792d482
Replace `IHub` with `IScopes` in Spring 6 / Spring Boot 3 integrations
adinauer 9bcbce6
Replace `IHub` with `IScopes` in samples
adinauer 3f25a4b
Merge branch 'feat/hsm-13-replacements-in-samples' into feat/hubs-sco…
adinauer d6fb40a
gitscopes -> github
adinauer 7752bcc
Replace ThreadLocal with ScopesStorage
adinauer 1e329c5
Move client and throwable to span map to scope
adinauer b0d89ae
Add global scope
adinauer cdd414a
use global scope in Scopes
adinauer 98da9ff
Implement pushScope popScope and withScope for Scopes
adinauer 2d26033
Add pushIsolationScope; add fork methods to ISCope
adinauer bbb6700
Use separate scopes for current, isolation and global scope; rename m…
adinauer c714b21
Allow controlling which scope configureScope uses
adinauer a474402
Combine scopes
adinauer ae93e33
Use new API for CRONS integrations
adinauer b01298b
Add lifecycle helper
adinauer b64e688
Change spring integrations to use new API
adinauer d06fc50
Use new API in servlet integrations
adinauer f0af5c3
Use new API for kotlin coroutines and wrapers for Supplier/Callable
adinauer 2f02001
Discussion TODOs
adinauer bf4a7bf
Fix breadcrumb ordering
adinauer 62cb91a
Mark TODOS with [HSM]
adinauer b1630ea
Add getGlobalScope and forkedRootScopes to IScopes
adinauer 136b9ce
Fix EventProcessor ordering on scopes
adinauer 94d54ef
Reuse code in Scopes
adinauer 017599d
No longer replace global scope
adinauer f4c2b3c
Replace hub occurrences in comments, var names etc.
adinauer 61c9d4a
Implement ScopesTest
adinauer 04f3892
Implement CombinedScopeViewTest
adinauer 840c194
Fix combined contexts
adinauer ab1c3a6
Use combined scopes for cross platform
adinauer 23506c5
Changes according to reviews of previous PRs
adinauer c9b6f8b
more
adinauer 696a809
even more
adinauer 847200d
isEnabled checks client instead of having a property on Scopes
adinauer 8e86d3b
Use SentryOptions.empty
adinauer 06db228
Remove Hub
adinauer 37ab4d0
Use OpenTelemetry for Performance and Scopes propagation
adinauer faef2f8
Promote certain span attributes
adinauer c57b2d3
Merge branch '8.x.x' into feat/potel-1-context-forking-and-basics
adinauer 5b15128
Merge branch '8.x.x' into feat/potel-1-context-forking-and-basics
adinauer 9d48538
Merge branch 'feat/potel-1-context-forking-and-basics' into feat/pote…
adinauer 9b900c7
Use OTel in Sentry API
adinauer b3919bd
Deduplicate SpanInfo extraction
adinauer 36ed84a
Forward Sentry API to Sentry through OTel
adinauer 8f56e3f
Use OTel status for Sentry span API
adinauer 81982bc
POTel Tracing
adinauer fba451c
fix root span detection (remote flag), and scope closing
adinauer c787e91
Inherit OTel span IDs when sending to sentry
adinauer 8c25d81
Fix tracing; parse incoming baggage; add baggage to outgoing
adinauer ffe1bef
Cleanup
adinauer a31fc08
Move sampling logic to OTel Sampler
adinauer 789ae1e
Remove internal span attributes so they are not sent to Sentry
adinauer f0c8cf2
Use transaction name
adinauer 0d84b57
remove obsolete comment
adinauer ce1f729
Keep OTel and Sentry span name/op in sync
adinauer 720b07c
more cleanup
adinauer 20f8a86
Make it possible to ignore span origins
adinauer 2134179
Reuse TracesSampler instance
adinauer 5ae32b7
Catch exceptions thrown by integration.close
adinauer 6ddb833
Set NoOpSpanFactory as property default
adinauer 507ca74
Use correct SentryOptions for SentryClient ctor
adinauer f5caf82
PR review feedback
adinauer ce75759
more
adinauer f3f75a2
Use SpanOptions.startTimestamp in Span ctor
adinauer 1286bc7
Merge branch '8.x.x' into feat/potel-20-start-timestamp-sentry-span
adinauer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are quite a few commented lines starting from 475. Do we still need them for reference?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, kept it for reference, when implementing certain features that are still missing.