Commit Graph

176 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
e4c5f50a1d Fixed checkstyle 2022-02-02 13:05:48 +01:00
Marcin Grzejszczak
074b55dadd Added a sender that works in a reactive environment; fixes gh-2106 2022-02-02 12:41:48 +01:00
Marcin Grzejszczak
1152006833 Added conditions on missing Brave classes; gh-2107 2022-02-02 10:02:22 +01:00
Marcin Grzejszczak
2b9b76e5dc Ensures that sampler proxy gets eagerly resolved; fixes gh-2107 2022-02-02 09:57:50 +01:00
Marcin Grzejszczak
2f2ced8593 Working around the stomp workaround
without this workaround there is a problem with mutability of headers
with this change / workaround we're ensuring that the headers remain immutable.

We will fix this in Spring Framework 6; Spring Boot 3 in a much better way

fixes gh-1325
2022-01-27 12:30:17 +01:00
Marcin Grzejszczak
e7850379e3 Added sleuth data source to the list of non refreshable beans
fixes gh-2096
2022-01-14 15:47:00 +01:00
Marcin Grzejszczak
abdf5754c2 Added support for message containers; fixes gh-2093 2022-01-03 13:58:37 +01:00
Marcin Grzejszczak
c05a5d8175 Made TraceValve lazilly access beans. Fixes gh-2074 2021-12-14 20:00:42 +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
faa2c0fa53 Polish 2021-12-07 09:52:46 +01:00
Marcin Grzejszczak
fe23348513 Added some deprecation info 2021-12-06 17:04:08 +01:00
Marcin Grzejszczak
e056db7cf3 Going with manual instrumentation of transaction managers; fixes gh-2067 2021-12-06 17:03:05 +01:00
Marcin Grzejszczak
9bcf6d43dc Added aspect for PlatformTransactionManager types; fixes gh-2067 2021-12-04 09:46:15 +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
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
Marcin Grzejszczak
a08f94cb21 Made the Redis configuration more generic 2021-11-22 15:41:33 +01:00
Marcin Grzejszczak
1ca5e1aea2 Merge branch 'gh-2045' of https://github.com/ThomasVitale/spring-cloud-sleuth into ThomasVitale-gh-2045 2021-11-22 14:44:29 +01:00
Marcin Grzejszczak
b679d05ce7 Revert "shutdown unused ClientResources (#2060)" (#2061)
This reverts commit b41a1326c4.
2021-11-22 09:25:49 +01:00
Sungho Moon
b41a1326c4 shutdown unused ClientResources (#2060) 2021-11-22 09:09:29 +01:00
Olga Maciaszek-Sharma
2282d7b1cd Fix HookRegisteringBeanFactoryPostProcessor to work with native. (#2055) 2021-11-09 11:56:17 +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
Marcin Grzejszczak
8620d399f4 Added opt in for SocketAddress Mongo spans; fixes gh-2050 2021-11-03 11:41:00 +01: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
Thomas Vitale
3b2a644403 Use Sleuth API for Redis instrumentation
Extracted Brave-specific Redis instrumentation to use
the Sleuth API, and registered the implementation in
Brave autoconfiguration.

Fixes gh-2045
2021-10-23 09:50:30 +02:00
Jonatan Ivanov
79208f410f Fix tests that depend on previous Spring Boot config issue
fixes gh-2042
2021-10-20 16:16:25 -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
Marcin Grzejszczak
3dc8387a6f Merge branch '3.0.x' into main 2021-10-12 10:25:23 +02:00
Marcin Grzejszczak
a403c9aa91 Added conditional on spring kafka; fixes gh-2037 2021-10-12 10:23:07 +02:00
Marcin Grzejszczak
5ea63f6f8c Adding span flushing on shutdown hook (#2036)
without this change when batch process finishes the async reporter doesn't have time to properly shutdown and send out spans to Zipkin.
with this change we're registering a shutdown hook. AsyncReporter has no option to send out spans in a blocking way, so what we need to do to flush it, then wait for the configured time for the spans to be drained from the queue and then give a chance to send the spans out over the wire.

fixes gh-2035
2021-10-08 10:53:15 +02:00
Marcin Grzejszczak
6c23dfb179 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-04 10:10:45 +02: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
buildmaster
e295ff9214 Bumping versions to 3.0.5-SNAPSHOT after release 2021-09-21 15:23:29 +00:00
buildmaster
4ff72048cf Going back to snapshots 2021-09-21 15:23:29 +00:00
buildmaster
bffa4ab7db Update SNAPSHOT to 3.0.4 2021-09-21 15:17:41 +00:00
Flaviu Mureșan
460d994a53 Spring kafka autoconfiguration (#2013)
* Add auto-configuration for spring kafka

* Add auto-configuration for spring kafka

* Make spring-kafka instrumentation autoconfig conditional on missing brave

Co-authored-by: flavium31 <w7og3bljlmmn742puqw2zwzu7ycuwmflr2nb4swrwzivccx6arpq>
2021-09-20 19:19:53 +02:00