Commit Graph

337 Commits

Author SHA1 Message Date
Marcin Grzejszczak
eee5edf93e Fixes the invalid blocking of threads with WebClient; fixes gh-2127 2022-03-08 10:53:30 +01:00
buildmaster
c41bdadef4 Bumping versions to 3.1.2-SNAPSHOT after release 2022-02-17 17:29:32 +00:00
buildmaster
264399d125 Going back to snapshots 2022-02-17 17:29:31 +00:00
buildmaster
8daecd9f5b Update SNAPSHOT to 3.1.1 2022-02-17 17:22:46 +00:00
Marcin Grzejszczak
66c63a53ff Fixes invalid ThreadLocalSpan stacking and tracing context leaks; fixes gh-2064; fixes gh-2108 2022-02-02 14:42:52 +01:00
Marcin Grzejszczak
57c076c28c Closes the scope for transaction managers; fixes gh-2082 2022-02-02 13:15:03 +01:00
Marcin Grzejszczak
d2126be347 Disables jdbc parameter logging by default. You need to opt in. Fixes gh-2073 2021-12-07 14:10:25 +01:00
Marcin Grzejszczak
61d9b2d5f6 Updated props to skip nexus deployment 2021-12-02 10:26:25 +01:00
buildmaster
3c1090a504 Bumping versions to 3.1.1-SNAPSHOT after release 2021-12-01 19:36:53 +00:00
buildmaster
d83dee52f1 Going back to snapshots 2021-12-01 19:36:52 +00:00
buildmaster
00193fc91b Update SNAPSHOT to 3.1.0 2021-12-01 19:20:18 +00:00
Robert McNees
5da055db25 Added tag and profile to allow successful build when Docker environment not present (#2066) 2021-11-30 17:32:26 +01:00
Marcin Grzejszczak
efe83a0936 Fixed checkstyle 2021-11-29 08:25:19 +01:00
Marcin Grzejszczak
700ae79c46 Improved tests 2021-11-26 12:52:43 +01:00
Marcin Grzejszczak
f385740bfb Added a wrapper for KafkaPlatformTransactionManager; fixes gh-2063 2021-11-26 11:51:52 +01:00
Jonatan Ivanov
b718d1130f Fix StreamFunctionAdapterTests and StreamMessageOperatorsTests 2021-11-22 15:17:16 -08:00
Marcin Grzejszczak
eab9079e9b Made the tests better 2021-11-22 15:56:02 +01:00
Marcin Grzejszczak
a08f94cb21 Made the Redis configuration more generic 2021-11-22 15:41:33 +01:00
Olga Maciaszek-Sharma
2282d7b1cd Fix HookRegisteringBeanFactoryPostProcessor to work with native. (#2055) 2021-11-09 11:56:17 +01:00
Marcin Grzejszczak
43e0f2eb33 Made tests less brittle 2021-11-05 12:06:55 +01:00
Arthur Gavlyukovskiy
f70cee7341 Refactored TraceListenerStrategy to better track current scope in case multiple connections are used (#2053)
* Refactored TraceListenerStrategy to better track current scope in case multiple connections are used

Refactored remoteServiceName resolution logic to be easier to follow
Fixed TraceQueryExecutionListener#getConnection that leaks connection by acquiring (and not closing) additional connection from a DataSource

* Fixed checkstyle issues
2021-11-04 09:02:25 +01:00
buildmaster
8562948697 Going back to snapshots 2021-11-03 14:17:57 +00:00
buildmaster
5abcba02b6 Update SNAPSHOT to 3.1.0-RC1 2021-11-03 14:13:32 +00:00
buildmaster
aafde81e8d Going back to snapshots 2021-11-03 12:05:22 +00:00
buildmaster
960045f3d8 Update SNAPSHOT to 3.1.0-RC1 2021-11-03 12:01:05 +00:00
Jonatan Ivanov
3c3fca3b61 Use new LoadBalancerClientsProperties class 2021-10-28 13:18:43 -07:00
Marcin Grzejszczak
eb01d5952b Reactive mongo (#2044)
Added support for the new Reactive and Synchronous Context Providers in Mongo
2021-10-26 16:13:57 +02:00
Marcin Grzejszczak
90417f1f07 Stream reactive (#2038)
Added native support for Reactive Spring Cloud Stream.
2021-10-26 16:01:12 +02:00
Jonatan Ivanov
5503910d00 Fix tests that assume Spring Cloud Function returns a byte array
fixes gh-2043
2021-10-20 16:19:37 -07:00
buildmaster
11ef7e028a Going back to snapshots 2021-10-20 03:03:18 +00:00
buildmaster
17e68ba7c6 Update SNAPSHOT to 3.1.0-M3 2021-10-20 02:59:04 +00:00
buildmaster
3855298689 Going back to snapshots 2021-10-01 19:38:52 +00:00
buildmaster
160524d943 Update SNAPSHOT to 3.1.0-M2 2021-10-01 19:34:24 +00:00
Marcin Grzejszczak
d19b72d553 Caches executor wrappers (#2033)
without this change whenever a traced executor is created (either via a proxy or directly) we create a new instance of that traced wrapper. The problem with that is such that we create a lot of objects (e.g. each getExecutor() would return a new instance of the traced version). There are projects such as Micrometer that create WeakReferences to those objects. That means that if we don't cache the traced instance then we will lose the WeakReference upon the first GC.
with this change we're introducing new static wrapper methods that cache the traced instance for a given delegate. That means that not only will we create fewer objects but also we will honour the WeakReference mechanisms.

fixes gh-2020
2021-10-01 09:34:20 -07:00
Jonatan Ivanov
565d00c73a update spring security: 5.6.0-M3 2021-09-30 15:22:34 -07:00
Marcin Grzejszczak
ef8554daa6 Fixed the build for Boot 2.6.0 Snapshots 2021-09-08 12:21:54 +02:00
Jonatan Ivanov
15f7cc58c2 Removing unstable assertions for annotation
This can be fixed by recording the wall time and the duration (using monotonic time) and calculating the end time using the duration (also converting them to the right units) but I think it does not worth the effort.
2021-08-27 13:12:10 -07:00
Jonatan Ivanov
f3051483d7 Instrumenting Spring Security (#2011)
* First draft of instrumenting Spring Security

* Create events based on Authentication not SecurityContext

* Simplifying security config

* Checkstyle reformat

* Create DocumentedSpan and EventValue for Spring Security instrumentation

* Adding spring-security-bom to ensure the right dependencies are used.

* TracingSecurityContextChangedListenerTests

* Adding integration tests

* Deleting spring-cloud-sleuth-sample-security

* Checkstyle, license, javadoc

* Inlining SleuthSecuritySpan methods

* Deleting javadoc links from DocumentedSpan

* Updating auto-generated docs
2021-08-25 15:44:45 -07:00
Jonatan Ivanov
1f986bb93f Fixing package and logger names in 3.1 left from the Brave -> Sleuth API change 2021-08-24 18:03:07 -07:00
Jonatan Ivanov
7ae5eca766 Merge branch '3.0.x' 2021-08-24 17:58:34 -07:00
Jonatan Ivanov
23ea9743d2 Fixing package and logger names in 3.0.x left from the Brave -> Sleuth API change 2021-08-24 17:58:27 -07:00
Marcin Grzejszczak
51dca96d73 Merge remote-tracking branch 'origin/3.0.x' into main 2021-08-09 13:58:11 +02:00
Marcin Grzejszczak
0cdf31de7b Updated the docs with how to set the trace id in the response
fixes gh-2002
2021-08-09 13:57:39 +02:00
buildmaster
d5dad5d1e6 Going back to snapshots 2021-07-30 18:51:11 +00:00
buildmaster
848a1bbcdc Update SNAPSHOT to 3.1.0-M1 2021-07-30 18:47:07 +00:00
Marcin Grzejszczak
95c1a1df1e Fixed line endings 2021-07-28 20:08:39 +02:00
Oleg Zhurakousky
1b091f7772 Fix previous commit 2021-07-28 12:39:42 +02:00
Marcin Grzejszczak
76d63ce44d Fixed broken build 2021-07-14 16:55:50 +02:00
Marcin Grzejszczak
42c8896e75 Modified tests 2021-07-14 15:52:15 +02:00
Marcin Grzejszczak
f7eb154eb8 Merge branch 'mvc-customize-handler-postHandle' of https://github.com/wuwen5/spring-cloud-sleuth into wuwen5-mvc-customize-handler-postHandle 2021-07-14 15:31:24 +02:00