Commit Graph

1688 Commits

Author SHA1 Message Date
buildmaster
4b5bd34bbc Update SNAPSHOT to 3.0.0-M5 2020-11-17 21:04:48 +00:00
Marcin Grzejszczak
ee3d98c277 Removed jetbrains annotations 2020-11-16 12:54:40 +01:00
Marcin Grzejszczak
06d353f155 Migrated to OTel 0.10.0 2020-11-06 14:59:11 +01:00
Peter Paul Bakker
d85331124c reuse compiled regexp Patterns to save some cpu in TraceAction.call. Fixes gh-1760 (#1761) 2020-10-29 08:55:54 +01:00
Olga Maciaszek-Sharma
186d68030b Merge remote-tracking branch 'origin/2.2.x'
# Conflicts:
#	spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/client/feign/TracingFeignObjectWrapperTests.java
2020-10-28 14:31:57 +01:00
Olga Maciaszek-Sharma
eaa6acd59c Add more tests. 2020-10-28 14:10:22 +01:00
Olga Maciaszek-Sharma
61cb452cac Merge remote-tracking branch 'origin/2.2.x'
# Conflicts:
#	spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/instrument/web/client/feign/TraceFeignObjectWrapper.java
2020-10-28 13:29:56 +01:00
Olga Maciaszek-Sharma
4b5263c595 Add instrumentation for RetryableFeignBlockingLoadBalancerClient. (#1759) 2020-10-26 14:32:57 +01:00
Marcin Grzejszczak
6e306e594d Abstract tracer implementations via an API (#1757)
Spring Cloud Sleuth currently is an autoconfiguration over Brave. It also consists of various instrumentation mechanisms for libraries that are not supported by Brave (e.g. Spring Cloud Circuitbreaker).

We would like to abstract Brave so that Spring Cloud Sleuth becomes an autoconfiguration for any tracer implementation that is compatible with Spring Cloud Sleuth. That way Spring Cloud Sleuth in its core module would consist of an API and various tracer implementations would implement that API which would also allow automatic instrumentation of libraries that are supported by Spring Cloud Sleuth.

## OpenTelemetry Support

Thanks to doing this abstraction we are able to support new tracer implementations, not only Brave. We've decided to add support for the OpenTelemetry SDK as the second one. If in the future if we decide to add new tracers then it will be just a matter of adding a new module that bridges to the Spring Cloud Sleuth one. Thanks to abstraction of tests as well we will be easily able to plug that tracer mechanism into our current suite of tests.
2020-10-23 08:50:23 +02:00
buildmaster
f6608cd27f Going back to snapshots 2020-10-03 14:19:22 +00:00
buildmaster
bc5668b96d Update SNAPSHOT to 3.0.0-M4 2020-10-03 14:18:00 +00:00
Ryan Baxter
0c0277f8b3 Fixes feign compilation errors 2020-10-02 15:16:36 -04:00
buildmaster
5d4a303d61 Bumping versions 2020-09-23 05:31:16 +00:00
Asi Bross
4ec412c6ae Make the WebClient instrumentation conditional on property (#1723)
* Make the WebClient instrumentation conditional on property

* Add configuration metadata for 'spring.sleuth.web.webclient.enable' property

* Fix checkstyle errors

Co-authored-by: Asi Bross <abross@netflix.com>
2020-09-21 09:13:25 +02:00
buildmaster
05461159eb Bumping versions 2020-09-17 05:29:17 +00:00
buildmaster
cf3a082477 Bumping versions to 2.2.6.BUILD-SNAPSHOT after release 2020-08-28 20:23:45 +00:00
buildmaster
8b1d17fb26 Going back to snapshots 2020-08-28 20:23:44 +00:00
buildmaster
53a15b5b52 Update SNAPSHOT to 2.2.5.RELEASE 2020-08-28 20:21:13 +00:00
Julio Gómez Díaz
36d2c3cc2c Broaden the catched exception when the calculation of patterns could provoke a cyclic reference. Fixes gh-1679 (#1722) 2020-08-28 20:21:15 +02:00
buildmaster
1a8c7f83c4 Bumping versions 2020-08-28 05:30:17 +00:00
Marcin Grzejszczak
368eabb412 Added spanHandler that skips span name via patterns; fixes gh-1720 2020-08-27 16:36:37 +02:00
buildmaster
f252a6f3ae Bumping versions 2020-08-27 05:28:56 +00:00
Marcin Grzejszczak
824e5ca2af Added a guard for a missing class 2020-08-26 14:37:33 +02:00
Marcin Grzejszczak
f37d9f4da0 Supports null result in function wrapping 2020-08-26 14:28:31 +02:00
Marcin Grzejszczak
a7ffc92e9d Fixed checkstyle 2020-08-25 17:16:58 +02:00
Marcin Grzejszczak
83d92c75fa Fixed the conditions with enable binding 2020-08-25 16:50:02 +02:00
Marcin Grzejszczak
fc8efb5f5d Sets name of the executor service bean for all created runnables / callables
without this change the names are 'async'
with this change the name will be the name of the executor service bean. It will be easier to reason about the origin of such a span

fixes gh-1465
2020-08-18 13:42:28 +02:00
buildmaster
ba19f037df Bumping versions 2020-08-12 05:29:01 +00:00
spencergibb
131e94e4f6 Updates to set use-legacy-processing=true 2020-08-11 11:27:41 -04:00
Marcin Grzejszczak
9d0ee1428d Added an option to disable refresh scope on samplers; fixes gh-1557 2020-08-07 13:57:13 +02:00
Marcin Grzejszczak
c091f4f337 Changed the name of the app 2020-08-07 12:23:07 +02:00
Marcin Grzejszczak
49145bf524 Checkstyle 2020-08-07 12:18:06 +02:00
Marcin Grzejszczak
bd7c25f341 Something has changed with bootstrap config 2020-08-07 12:15:57 +02:00
Marcin Grzejszczak
ce9e3aed82 Ensures that context is refreshed for the disabled sleuth test 2020-08-07 12:05:29 +02:00
Marcin Grzejszczak
3768d221fc For Gateway will set reactor instrumentation to manual; fixes gh-1710 2020-08-06 19:16:53 +02:00
Marcin Grzejszczak
ed68a109c6 Merge branch '2.2.x' 2020-08-06 17:14:39 +02:00
Marcin Grzejszczak
aea67cb0bb Improved checks on final methods and cglib proxy creation; fixes gh-1569 2020-08-06 17:13:45 +02:00
Marcin Grzejszczak
8187fa6e47 Removed legacy headers from messaging; fixes gh-1221 2020-08-06 14:57:50 +02:00
Marcin Grzejszczak
3ecd34d9c2 Merge branch '2.2.x' 2020-08-05 18:29:44 +02:00
Marcin Grzejszczak
f31df6b3e2 Resolves the remote ip when behind proxy; fixes gh-1683 2020-08-05 18:28:19 +02:00
Marcin Grzejszczak
466749588e Added Reactor Netty Http 2020-08-05 14:34:43 +02:00
buildmaster
bb8d203f4c Bumping versions to 2.2.5.BUILD-SNAPSHOT after release 2020-07-31 21:27:20 +00:00
buildmaster
8fe9812944 Going back to snapshots 2020-07-31 21:27:20 +00:00
buildmaster
db7427984e Update SNAPSHOT to 2.2.4.RELEASE 2020-07-31 21:25:19 +00:00
Marcin Grzejszczak
0b5dec8cd7 Added Consumer / Producer post processors (#1701)
fixes gh-1670
2020-07-31 09:57:03 +02:00
Marcin Grzejszczak
a78ec6cf4c Merge branch '2.2.x' 2020-07-29 16:07:00 +02:00
Marcin Grzejszczak
5fa8409114 Reuses messaging properties for remote service name for brokers; fixes gh-1691 2020-07-29 15:53:55 +02:00
Marcin Grzejszczak
1c33332320 Further WebFlux and Messaging Reactor Sleuth improvements (#1699)
* Improving performance and adding docs
2020-07-28 18:02:16 +02:00
buildmaster
dca561e4e8 Going back to snapshots 2020-07-23 18:49:08 +00:00
buildmaster
f352801918 Update SNAPSHOT to 3.0.0-M3 2020-07-23 18:47:48 +00:00