Skip to content
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

Basic tracking support #1481

Closed
wants to merge 19 commits into from
Closed

Basic tracking support #1481

wants to merge 19 commits into from

Conversation

bsideup
Copy link
Contributor

@bsideup bsideup commented Jan 4, 2019

No description provided.

@bsideup bsideup added the wip label Jan 4, 2019
@codecov-io
Copy link

codecov-io commented Jan 4, 2019

Codecov Report

Merging #1481 into master will decrease coverage by 0.16%.
The diff coverage is 51.63%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1481      +/-   ##
============================================
- Coverage      84.2%   84.03%   -0.17%     
- Complexity     3907     3926      +19     
============================================
  Files           359      363       +4     
  Lines         29920    30086     +166     
  Branches       5566     5581      +15     
============================================
+ Hits          25194    25284      +90     
- Misses         3096     3168      +72     
- Partials       1630     1634       +4
Impacted Files Coverage Δ Complexity Δ
...java/reactor/core/scheduler/ParallelScheduler.java 78.26% <ø> (ø) 24 <0> (ø) ⬇️
...n/java/reactor/core/scheduler/SingleScheduler.java 76.59% <ø> (ø) 17 <0> (ø) ⬇️
...ain/java/reactor/core/publisher/FluxPublishOn.java 86.59% <ø> (ø) 6 <0> (ø) ⬇️
...ore/publisher/FluxOnBackpressureBufferTimeout.java 91.17% <ø> (ø) 4 <0> (ø) ⬇️
...java/reactor/core/scheduler/ExecutorScheduler.java 79.16% <ø> (ø) 12 <0> (ø) ⬇️
...ava/reactor/core/scheduler/ImmediateScheduler.java 76.19% <ø> (ø) 6 <0> (ø) ⬇️
...ain/java/reactor/core/publisher/MonoPublishOn.java 85.71% <ø> (ø) 3 <0> (ø) ⬇️
...actor/core/scheduler/DelegateServiceScheduler.java 60.97% <ø> (ø) 11 <0> (ø) ⬇️
.../reactor/core/scheduler/ExecutorServiceWorker.java 71.42% <ø> (ø) 7 <0> (ø) ⬇️
.../reactor/core/scheduler/SingleWorkerScheduler.java 70% <ø> (ø) 10 <0> (ø) ⬇️
... and 38 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e8c8a1c...5b23a9d. Read the comment docs.

@@ -1268,4 +1282,37 @@ else if (s2 != null) {
return both;
}

private static class MultiSubscriber<T> implements CoreSubscriber<T> {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is hacky but didn't know how to do it better

bsideup and others added 4 commits January 16, 2019 14:39
)

`ContextRunnable` is a new abstraction for the context passing.

It implements newly introduced `ContextAware` interface and
forces the implementors to provide a context (either current or empty).

old `Runnable`-based methods are marked as `@Deprecated` to
enforce the usage of the `ContextRunnable`.
@bsideup bsideup changed the title Basic tracing support Basic tracking support Jan 28, 2019
bsideup and others added 7 commits February 12, 2019 15:03
# Conflicts:
#	reactor-core/src/main/java/reactor/core/CorePublisher.java
#	reactor-core/src/main/java/reactor/core/publisher/Flux.java
#	reactor-core/src/main/java/reactor/core/publisher/Mono.java
#	reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success 
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://github.com/reactor with 1 occurrences migrated to:  
  https://github.com/reactor ([https](https://github.com/reactor) result 200).
* http://projectreactor.io/docs/core/release/api/ with 3 occurrences migrated to:  
  https://projectreactor.io/docs/core/release/api/ ([https](https://projectreactor.io/docs/core/release/api/) result 200).
* http://projectreactor.io/docs/test/release/api/ with 1 occurrences migrated to:  
  https://projectreactor.io/docs/test/release/api/ ([https](https://projectreactor.io/docs/test/release/api/) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 with 6 occurrences migrated to:  
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
* http://www.apache.org/licenses/LICENSE-2.0.txt with 1 occurrences migrated to:  
  https://www.apache.org/licenses/LICENSE-2.0.txt ([https](https://www.apache.org/licenses/LICENSE-2.0.txt) result 200).
* http://www.reactive-streams.org/reactive-streams-1.0.2-javadoc/ with 3 occurrences migrated to:  
  https://www.reactive-streams.org/reactive-streams-1.0.2-javadoc/ ([https](https://www.reactive-streams.org/reactive-streams-1.0.2-javadoc/) result 200).
* http://repo.spring.io/libs-milestone with 1 occurrences migrated to:  
  https://repo.spring.io/libs-milestone ([https](https://repo.spring.io/libs-milestone) result 302).
* http://repo.spring.io/libs-snapshot with 1 occurrences migrated to:  
  https://repo.spring.io/libs-snapshot ([https](https://repo.spring.io/libs-snapshot) result 302).
* http://repo.spring.io/plugins-release with 1 occurrences migrated to:  
  https://repo.spring.io/plugins-release ([https](https://repo.spring.io/plugins-release) result 302).
@bsideup bsideup closed this Apr 3, 2019
@bsideup bsideup deleted the tracing branch April 3, 2019 09:08
@robotmrv
Copy link
Contributor

robotmrv commented Apr 9, 2019

@bsideup,
this is very interesting feature.
Is it still in progress but hidden or rejected forever?

@bsideup
Copy link
Contributor Author

bsideup commented Apr 9, 2019

HI @robotmrv,

We decided to split it into smaller chunks (see #1527 and #1546) for now. These PRs duplicate what we did in the tracing one, with an exception of the ContextAware Runnables (see #1524, also closed since most of tracing solutions rely on thread locals anyways), and a common tracking interface (no longer needed given the provided abstractions)

We may consider integrating Reactor with some tracing solutions in future, but that will be another PR :)

@simonbasle simonbasle modified the milestones: 3.3.0.RELEASE, 3.3.0.M1 Apr 15, 2019
@bsideup bsideup removed this from the 3.3.0.M1 milestone May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants