-
Notifications
You must be signed in to change notification settings - Fork 244
Add localContextPropagation to Task.Options, implement tracing Local vars
#444
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
74 commits
Select commit
Hold shift + click to select a range
4cf1d06
Added Local implementation
leandrob13 ef3c3e7
Added Local tests
leandrob13 310fbf5
Added TracingContext and TracingContextCompanion
leandrob13 870a473
Added CorrelationId as a TracingContext to enable propagation of valu…
leandrob13 65a2c04
Added CorrelationId as a TracingContext to enable propagation of valu…
leandrob13 aa96ffe
Added Local implementation for JS using ThreadLocal in executionJS
leandrob13 530bf59
Added TaskTracedRunLoop which helps to propagate local context throug…
leandrob13 4a0e16e
Added runAsyncTraced in Task so it can propagate local with TaskTrace…
leandrob13 714a8cd
Added TracingScheduler for propagating locals through async boundaries
leandrob13 74b4553
Added CorrelationId tests
leandrob13 67981c7
Merge branch 'master' into feature/LocalContext
leandrob13 28731c0
Merge branch 'master' of https://github.com/monix/monix into feature/…
leandrob13 c927b8e
Deleted unsued val and reformated TaskTracedRunLoop
leandrob13 26ba702
Merge branch 'feature/LocalContext' of https://github.com/leandrob13/…
leandrob13 3f12360
Changed the registration id from string UUID to a Local.Key class
leandrob13 82e8200
Removed Option usage from Local functions
leandrob13 48ddf5c
Updated js/Local with latest changes made to jvm version
leandrob13 b382918
Added traced scheduler to Scheduler.Implicits
leandrob13 93bf983
Reformated code, removed unnecessary executeWithTrace, moved implicit…
leandrob13 df03bbb
Fixed tests
leandrob13 bf4a090
Fixed compile errors
leandrob13 38bc2b6
Made CorrelationId final and improved scaladoc
leandrob13 21abac6
Improved scaladoc for Local
leandrob13 c44679c
Improved scaladoc for TracingContext
leandrob13 92692f7
Added traced function to monix.execution.Scheduler
leandrob13 2649c92
Added scaladoc to TracingScheduler
leandrob13 6b3214a
Added TracingSchedulerSuite
leandrob13 b385cbf
Merge branch 'master' of https://github.com/monix/monix into feature/…
leandrob13 2467e73
Merge branch 'master' into feature/LocalContext
leandrob13 1bb6f00
Merge branch 'master' into feature/LocalContext
alexandru 52f8553
Merge branch 'master' into feature/LocalContext
leandrob13 6116b2d
Merge branch 'master' of https://github.com/monix/monix into feature/…
leandrob13 5a7f05c
Merge branch 'feature/LocalContext' of https://github.com/leandrob13/…
leandrob13 d42405f
Added localContextPropagation option to Task.Options
leandrob13 341678a
Added Local propagation to TaskRunLoop and TaskExecuteWithModel
leandrob13 afd3d4d
Removed asyncTraced from Task functions
leandrob13 5150117
Fixed tests
leandrob13 fb4c636
Merge branch 'feature/tracedOptions' of https://github.com/leandrob13…
leandrob13 5754577
Merge branch 'master' of https://github.com/monix/monix into feature/…
leandrob13 0b401e5
Removed the parameter passed local from functions of TaskRunLoop, man…
leandrob13 737c7cc
Removed any reference to Local.getContext from Task, managed now in T…
leandrob13 297c20e
Fixed CorrelationIdSuite tests
leandrob13 4f71d1e
Merge branch 'master' into feature/tracedOptions
alexandru f86097e
Polished some minor details in TaskRunLoop
leandrob13 fe7a96b
Added and fixed tests in CorrelationIdSuite
leandrob13 f5401cc
Extended Serializable to Local.Key and Local.LocalContext
leandrob13 438a33e
Moved Local to execution shared files
leandrob13 2f8e4a5
Replaced the Runner instance with ShiftedRunnable in TracingScheduler
leandrob13 d25de07
Added globalTuning @define in Implicits§ scaladoc
leandrob13 9371ba6
Added Task.Options as an implicit argument in runAsync, added the par…
leandrob13 829bde3
Fixed CorrelationIdSuite tests
leandrob13 9fb17aa
Made defaultOptions an implicit val in Task companion object to help …
leandrob13 448cbdb
removed the default Task.Options implicit value from overloaded runAsync
leandrob13 82f4914
Fixed tests by removing explicit scheduler parameter passing
leandrob13 dc8822b
Added Task.Options param to first runAync function and its default value
leandrob13 5d759bf
Added scaladoc for options in TaskApp
leandrob13 6a83959
Passed Task.defaultOptions to runAsync main call in js.TaskApp
leandrob13 aa32903
Reverted use of defaultOptions as implicit
leandrob13 04acd14
Defined default implicit values for runAsync usages with callback in …
leandrob13 dcc0d04
Added default implicit value for Options in IterantToReactivePublisher
leandrob13 b803288
Fixed tests
leandrob13 dbed73f
Moved the System.getProperties calls for defaultOptions to Platform o…
leandrob13 db2d324
Merge branch 'master' of https://github.com/monix/monix into feature/…
leandrob13 fd65835
Merge branch 'feature/tracedOptions' of https://github.com/leandrob13…
alexandru 3b292e3
Refactoring, ScalaDoc, add TaskLocal
alexandru babf5c8
Add Leandro Bolivar to AUTHORS
alexandru 54c5209
Fix ScalaDoc
alexandru 73699b8
Merge branch 'master' into feature/tracedOptions
alexandru e05666f
Revert signature of runAsync to not take implicit Options
alexandru 27e750f
Make defaultOptions non-implicit
alexandru f5bcf58
Fix TaskApp, with tests
alexandru b0aae74
Fix ScalaDoc in TaskLocal
alexandru 3c4c5cd
Re-add Task.runAsyncOpt
alexandru 94e8be8
Final cleanups
alexandru 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
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.
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.
We need to indicate that
falseis the default.