Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/opentracing-contrib/java-reactor
OpenTracing instrumentation for Reactor
https://github.com/opentracing-contrib/java-reactor
instrumentation opentracing reactor tracing
Last synced: about 2 months ago
JSON representation
OpenTracing instrumentation for Reactor
- Host: GitHub
- URL: https://github.com/opentracing-contrib/java-reactor
- Owner: opentracing-contrib
- License: apache-2.0
- Created: 2018-09-24T04:19:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-24T04:59:21.000Z (almost 4 years ago)
- Last Synced: 2024-04-24T06:34:26.099Z (9 months ago)
- Topics: instrumentation, opentracing, reactor, tracing
- Language: Java
- Homepage:
- Size: 98.6 KB
- Stars: 12
- Watchers: 5
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenTracing Reactor Instrumentation
OpenTracing instrumentation for Reactor. This instrumentation library is based on [spring-cloud-sleuth's reactor instrumentation](https://github.com/spring-cloud/spring-cloud-sleuth/tree/master/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/instrument/reactor).## OpenTracing Agents
When using a runtime agent like [java-specialagent](https://github.com/opentracing-contrib/java-specialagent) `TracedSubscriber`s will be automatically added using `Hook.onEachOperator` and `Hooks.onLastOperator`.Refer to the agent documentation for how to include this library as an instrumentation plugin.
## Non-Agent Configuration
When not using any of the OpenTracing Agents the `Hooks` must be added directly:```java
Hooks.onEachOperator(TracedSubscriber.asOperator(tracer));
Hooks.onLastOperator(TracedSubscriber.asOperator(tracer));...
```