-
-
Notifications
You must be signed in to change notification settings - Fork 226
Support transaction finishing automatically with 'idle timeout' #2452
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 11 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
2d57966
Finish idle transaction using timeout option
SeanFeldman 8f9e7a5
Ensure timer is cancelled when either triggered or transaction ends n…
SeanFeldman 7254d6e
Add verification
SeanFeldman fc734ed
Remove destructor
SeanFeldman b625620
Update CHANGELOG.md
SeanFeldman 1a03d78
Approve API changes
SeanFeldman 5ca5599
Fix .NET 3.1 approval
SeanFeldman 29ce332
Move idle timeout handling to the correct constructor
SeanFeldman 8a1d79b
Add support for IdleTimeout to SentryOptions
SeanFeldman 81950f9
Use SentryOptions configured IdleTimeout with TransactionTracer
SeanFeldman b653afc
Approve API changes for SentryOptions and updated TransactionTracer
SeanFeldman c36453c
Remove overload constructor in favor of resolving options from the hub
SeanFeldman 908bdc1
Use explicit cast to determine if Hub type is used
SeanFeldman 59101b2
Remove unnecessary member field
SeanFeldman af05fee
Avoid race condition
SeanFeldman e1dfb95
Remove IDisposable and dispose timer if the idle timeout timer has be…
SeanFeldman 5262161
Merge remote-tracking branch 'origin/main' into 1074-transacton-idle-…
SeanFeldman 1695110
Update src/Sentry/TransactionTracer.cs
SeanFeldman 4c691b8
Do not finish transaction that is marked as a Sentry OTel transaction
SeanFeldman 3db4a20
Do not complete OTel transaction
SeanFeldman 696f636
Remove duplicated AssertionScope
SeanFeldman 7e88587
Verify transaction was marked as a sentry request
SeanFeldman 6701ad7
Remove redundant test (covered by TransactionTests)
SeanFeldman 31f7826
Allow transaction idle timeout override
SeanFeldman dba21ec
Defer first execution until idle timeout kicks in
SeanFeldman f32c63a
Verify idle timeout override works
SeanFeldman 060a8b9
Fix test name and tweak times
SeanFeldman 3242e07
EXPERIMENTAL - increase delay to a few seconds
SeanFeldman 6f49243
Apply suggestions from code review
SeanFeldman 432b594
Update public API
SeanFeldman bdb7ed7
Take into consideration Sentry options provided idle timeout (acciden…
SeanFeldman 76bf453
Simplification
SeanFeldman f8c5913
Apply suggestions from code review
SeanFeldman ea7db6f
Update src/Sentry/TransactionTracer.cs
SeanFeldman ebd70ff
Fix code review suggestions
SeanFeldman 6d9e1d1
Update CONTRIBUTING.md
jamescrosswell 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
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.
Uh oh!
There was an error while loading. Please reload this page.