-
-
Notifications
You must be signed in to change notification settings - Fork 277
Auto Transactions #643
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
Auto Transactions #643
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
5c87477
didPush starts transaction
e72ccc6
didPush finishes previous transaction
ff0896e
fix mocking
adde75d
test finish with idle timer
7a0c96b
finish transaction on pop
0f79e44
check if span status is set
0bbce7a
test setting of arguments
45186fe
format
deef4a9
re-start previous
1e204c0
dont start transaction with empty name
0dd396c
dont expose options
998ee18
Update changelog
c3c7de8
provide opt-out of auto transactions
5406ad4
run format
75fa043
move idle timer to tracer, only start transaction if scope is not setโฆ
f7b8417
implement waitForChildren
e5276c0
move finishAfter to ISentrySpan
97533fc
expose waitForChildren api
6161cb0
move finishAfter implementation out of abstract class
e5f8c7e
Merge branch 'main' into feat/auto-transactions
c003afc
add missing tests for callback on finish
5656aa6
move SentryTracerFinishStatus to own file
941d854
run format
3456911
propagate waitForChildren
c32a413
only bind to scope if scope span is null
5b791ad
format
90c6de3
Merge branch 'main' into feat/auto-transactions
22a395f
move finifhed callback to SentrySpan ctor
96b4a5c
update doc for enableAutoTransactions
762cf12
Merge branch 'main' into feat/auto-transactions
28bc711
remove unneccesary imports
c43b04b
Merge branch 'main' into feat/auto-transactions
ef633a0
dont call super in noop method
7817a28
move auto finish after duration to start transactions as param
835fbd3
Remove unused param
8bb14a4
return immed.
9ab1b87
Merge branch 'main' into feat/auto-transactions
25c1a81
Merge branch 'main' into feat/auto-transactions
7cdf854
no need to double check finished
2251af2
use more descriptive changelog
2f268a3
use current span instead of new transaction for sample
marandaneto 3063a14
fix
marandaneto b369fc2
fix test
marandaneto 4d8e600
fix tests
marandaneto 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| import 'package:meta/meta.dart'; | ||
|
|
||
| import '../sentry.dart'; | ||
|
|
||
| @internal | ||
| class SentryTracerFinishStatus { | ||
| final bool finishing; | ||
| final SpanStatus? status; | ||
|
|
||
| SentryTracerFinishStatus.finishing(SpanStatus? status) | ||
| : finishing = true, | ||
| status = status; | ||
|
|
||
| SentryTracerFinishStatus.notFinishing() | ||
| : finishing = false, | ||
| status = null; | ||
| } |
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
Oops, something went wrong.
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.