Vadim Galavanov
20a9aa6342
Override LazyTraceThreadPoolTaskExecutor.getQueueSize() to return del… ( #2316 )
...
* Override LazyTraceThreadPoolTaskExecutor.getQueueSize() to return delegate's value (#2315 )
* Update LazyTraceThreadPoolTaskExecutorTests.java
---------
Co-authored-by: Marcin Grzejszczak <marcin@grzejszczak.pl >
2023-09-29 10:00:39 +02:00
Marcin Grzejszczak
45bdd9a51a
Makes ScopePassingSpanSubscriber aware of pending spans
...
without this change e.g. Reactor Netty spans are not treated as current in the reactor flow
with this change once Reactor Netty instrumentation creates a pending span it will be treated as a parent one in the reactor flow
fixes gh-2282
2023-04-24 15:47:14 +02:00
Oleh Dokuka
18dc5a4141
ensures span is restored back after onComplete is propagated to the downstream ( #2275 )
2023-03-14 20:47:28 +01:00
buildmaster
7032440fed
Bumping versions
2023-03-14 19:20:26 +00:00
maciejtoporowicz
25606b2896
Add getters for delegates ( #2273 )
...
Fixes gh-2261
2023-03-14 17:16:29 +01:00
maciej-gromul
068099a4db
Adding back for backwards compatibility deprecated TracingKafkaConsum… ( #2272 )
2023-03-10 08:57:28 +01:00
maciej-gromul
537503d6e0
New instrumentation for reactive kafka clients ( #2268 )
...
* New instrumentation for reactive kafka clients
* Fix javadocs for auto configuration
* Javadocs and copyright doc changes
2023-03-09 15:01:40 +01:00
Marcin Grzejszczak
5cedfb4cb3
Fixes usage of ReflectionUtils that can't access method; fixes gh-2267
2023-03-08 19:13:20 +01:00
Marcin Grzejszczak
07ff40a5aa
Thermoweb bugfix/2246 handle invocation target exception ( #2264 )
...
* Fixes gh-2246 : handle InvocationTargetException properly
* Polished the solution + added tests
---------
Co-authored-by: romain.chauveau <romain.chauveau@praxedo.com >
2023-02-17 14:42:52 +01:00
Oleh Dokuka
a01ab50490
fixes memory leak when default rsocket tracing propagation is enabled ( #2262 )
...
* fixes memory leak when default rsocket tracing propagation is enabled
Signed-off-by: OlegDokuka <odokuka@vmware.com >
* fixes styles
Signed-off-by: OlegDokuka <odokuka@vmware.com >
---------
Signed-off-by: OlegDokuka <odokuka@vmware.com >
2023-02-16 13:25:15 +01:00
Oleh Dokuka
6a3612ce94
improves traceQueue cleaning logic ( #2241 )
2023-01-03 23:38:37 +01:00
Marcin Grzejszczak
29eddf19b1
Chaning the DefaultSpanNamer logic back to original one
...
this has caused issues in async spans and runnables where the toString didn't come from Object but was a default from classes such as e.g. FutureTask
related issue #2234
2022-12-16 17:17:23 +01:00
Marcin Grzejszczak
6d55869656
Clearing thread locals whenever an RSocket request arrives
2022-12-13 19:04:45 +01:00
Marcin Grzejszczak
dcfd714ee6
Fixed DefaultSpanNamer not picking the value from annotation
2022-12-13 19:04:10 +01:00
Paul Bakker
0c481bfabb
Improved DefaultSpanNamer to more efficiently check if the delegate has a default toString. ( #2234 )
...
Co-authored-by: pbakker <pbakker@netflix.com >
2022-11-29 15:34:54 +01:00
Oleh Dokuka
a6e1dcbfcd
ensures Tracing ThreadLocal are cleaned ( #2236 )
...
* ensures Tracing ThreadLocal are cleaned
Signed-off-by: Oleh Dokuka <oleh.dokuka@icloud.com >
* adds test
Signed-off-by: Oleh Dokuka <oleh.dokuka@icloud.com >
Signed-off-by: Oleh Dokuka <oleh.dokuka@icloud.com >
2022-11-29 15:22:46 +01:00
cui fliter
bdb41dd862
all: fix some typos ( #2210 )
...
Signed-off-by: cui fliter <imcusg@gmail.com >
Signed-off-by: cui fliter <imcusg@gmail.com >
2022-10-04 12:29:56 +02:00
Som Shankar Bhattacharyya
c143913a1d
Override getQueueCapacity to return delegate's value ( #2204 )
2022-09-09 14:32:41 +02:00
Marcin Grzejszczak
b856c2c44e
Ensures that we close the scope when working with Kotlin; fixes gh-2197
2022-09-01 11:01:19 +02:00
Marcin Grzejszczak
28fba56212
Fixed NPE when parsing invalid URIs for database tracing; fixes gh-2186
2022-07-12 13:38:12 +02:00
Marcin Grzejszczak
9493312d49
Merge branch '3.0.x' into 3.1.x
2022-06-28 14:58:40 +02:00
Marcin Grzejszczak
6be189044e
Add support for the Spring Security OAuth2 native support; fixes gh-2182
2022-06-28 14:53:51 +02:00
Marcin Grzejszczak
747ff21237
Fixing invalid scoping in TraceHandlerFunction; fixes gh-2026
2022-06-15 10:39:39 +02:00
Marcin Grzejszczak
b3338ff739
Fixing invalid scoping in TraceHandlerFunction; fixes gh-2026
2022-06-15 10:39:26 +02:00
James Moessis
aea19fcd11
Fixes #2156 (Multiple baggage headers) ( #2177 )
2022-06-09 09:49:38 +02:00
James Moessis
4d8e82967d
Fixes #2156 (Multiple baggage headers) ( #2177 )
2022-06-09 09:16:22 +02:00
Marcin Grzejszczak
c04b5a3864
Merge branch '3.0.x' into 3.1.x
2022-05-31 17:19:40 +02:00
Marcin Grzejszczak
fe7d4f775f
Ensures that executors are removed from cache on shutdown; fixes gh-2171
2022-05-31 17:19:29 +02:00
Jonatan Ivanov
17a773ac61
Fix breaking change introduced in the previous commit
...
related to gh-2169
2022-05-26 07:30:11 -07:00
Jonatan Ivanov
f3f949b3fc
Lazy initialization of the Tracer for JDBC instrumentation
...
This should resolve the cyclic dependency we have
fixes gh-2169
2022-05-25 09:52:35 -07:00
Marcin Grzejszczak
fc8212bd2a
Makes TraceValve continue a trace when span is set as an attribute
...
without this change when TraceValve gets called multiple times for the same request, we will create a new trace each time a new dispatch takes place
with this change we're checking whether there's already a Span attribute set. If that's the case we will continue the trace instead of creating a new one
fixes gh-2075
2022-05-24 14:31:20 +02:00
Johnny Lim
89a5a988be
Relocate SleuthSpanContextSupplier ( #2147 )
2022-04-18 23:33:32 -07:00
Marcin Grzejszczak
6da18e9be2
Fixes invalid ThreadLocalSpan stacking and tracing context leaks; fixes gh-2064; fixes gh-2108
2022-04-14 15:34:11 +02:00
kevin
0267191c46
Update PayloadUtils.java ( #2145 )
...
fixing #2102 Netty reports LEAK while using reactor (Rsocket) with Sleuth
2022-04-14 09:57:29 +02:00
Jonatan Ivanov
3323115ec0
Prometheus exemplars autoconfig ( #2143 )
...
* Autoconfigure Prometheus Exemplars support
* Tests for autoconfiguration for prometheus exemplars
* Add docs
* Update PrometheusExemplarsAutoConfiguration.java
Co-authored-by: Marcin Grzejszczak <mgrzejszczak@vmware.com >
2022-04-12 18:11:48 +02:00
Jonatan Ivanov
dd680254bd
SleuthSpanContextSupplier should take sampling decision into consideration
...
fixes gh-2116
2022-02-16 11:04:29 -08: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
eefd3b98af
Polish
2022-02-02 13:40:19 +01:00
Marcin Grzejszczak
57c076c28c
Closes the scope for transaction managers; fixes gh-2082
2022-02-02 13:15:03 +01:00
Marcin Grzejszczak
2b9b76e5dc
Ensures that sampler proxy gets eagerly resolved; fixes gh-2107
2022-02-02 09:57:50 +01:00
Jonatan Ivanov
576b8bc963
auto-formatting
2022-01-21 12:58:02 -08:00
Marcin Grzejszczak
e4ff2dd051
Polish
2022-01-17 11:17:22 +01:00
Marcin Grzejszczak
49e5372b7c
Added support for Flux->Mono, Mono->Flux; fixes gh-2077
2022-01-17 11:14:40 +01:00
Marcin Grzejszczak
011eb938ac
Added NPE guard for null async executor; fixes gh-2094
2022-01-03 14:28:01 +01:00
Marcin Grzejszczak
d82379b119
Added NPE guard for null async executor; fixes gh-2094
2022-01-03 14:27:14 +01:00
Marcin Grzejszczak
abdf5754c2
Added support for message containers; fixes gh-2093
2022-01-03 13:58:37 +01:00
mschielmann
421c5e6476
#2083 improvements ( #2091 )
...
* #2083 improvements
* removed known span names to keep backward compatibility
2022-01-03 12:05:44 +01:00
mschielmann
4a29094ccb
fixing issue #2083 ( #2086 )
2021-12-28 22:51:23 +01:00
Tim Ysewyn
195d853714
Moved return statement out of log.isDebugEnabled() condition
2021-12-15 11:00:46 +01:00
Marcin Grzejszczak
c05a5d8175
Made TraceValve lazilly access beans. Fixes gh-2074
2021-12-14 20:00:42 +01:00