3072 Commits

Author SHA1 Message Date
buildmaster
ef024cb4a9 Bumping versions 2023-05-27 04:20:07 +00:00
buildmaster
f49b6e91c0 Bumping versions to 3.0.7-SNAPSHOT after release 2022-06-29 22:42:11 +00:00
buildmaster
d806181d70 Going back to snapshots 2022-06-29 22:42:11 +00:00
buildmaster
73947cb804 Update SNAPSHOT to 3.0.6 2022-06-29 22:37:15 +00: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
James Moessis
aea19fcd11 Fixes #2156 (Multiple baggage headers) (#2177) 2022-06-09 09:49:38 +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
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
buildmaster
0cb3f23925 Bumping versions 2022-02-24 04:26:00 +00:00
Marcin Grzejszczak
e37902df03 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:28:34 +01:00
Marcin Grzejszczak
011eb938ac Added NPE guard for null async executor; fixes gh-2094 2022-01-03 14:28:01 +01:00
buildmaster
818f61f09e Bumping versions to 3.0.6-SNAPSHOT after release 2021-12-15 17:40:43 +00:00
buildmaster
1b6c4f585c Going back to snapshots 2021-12-15 17:40:42 +00:00
buildmaster
613b97bd55 Update SNAPSHOT to 3.0.5 2021-12-15 17:35:37 +00:00
Ryan Baxter
3c0f8f6490 Fixing failing test when using latest stream and function releases 2021-12-14 14:54:10 -05:00
Jonatan Ivanov
720e4373d1 fix typo in docs 2021-11-17 11:45:04 -08:00
Marcin Grzejszczak
31f60a9fb8 Fixed checkstyle 2021-11-08 09:17:09 +01:00
Marcin Grzejszczak
f6e3208a1a Update TestSpanHandler.java 2021-11-08 09:11:14 +01:00
Olga MaciaszekSharma
f562809830 Revert "Make BraveKafkaStreamsAutoConfiguration public. (#2054)"
This reverts commit ec62931a27.
2021-11-05 19:03:59 +01:00
Olga Maciaszek-Sharma
ec62931a27 Make BraveKafkaStreamsAutoConfiguration public. (#2054) 2021-11-05 18:06:10 +01:00
Marcin Grzejszczak
5badc1deab Made tests less brittle 2021-11-05 13:46:10 +01:00
Jonatan Ivanov
facedbeed2 Update github workflow to use Java 17 2021-10-18 17:52:08 -07:00
Marcin Grzejszczak
a403c9aa91 Added conditional on spring kafka; fixes gh-2037 2021-10-12 10:23:07 +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
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
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
6a8b1551c7 Fixed end lines in editorconfig 2021-08-11 18:55:31 +02:00
Marcin Grzejszczak
61b0b175e1 Added missing text 2021-08-09 14:00:28 +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
Marcin Grzejszczak
4f3558a165 Fixed W3C tracestate and baggage setting
without this change we're not setting tracestate whatsover. Baggage is also not being propagated properly (via the baggage field)
with this change when tracestate is there in the headers it will be treated as baggage. When the context is propagated then tracestate will not be put to the baggage field

fixes gh-2001
2021-07-28 20:06:15 +02:00
Oleg Zhurakousky
1b091f7772 Fix previous commit 2021-07-28 12:39:42 +02:00
Oleg Zhurakousky
e3b3cd9c66 Add temporary guard to TraceFunctionAroundWrapper for cases which are not properly supported by it 2021-07-28 11:20:19 +02:00
Marcin Grzejszczak
dabd32b3ef Checkstyle fix 2021-07-14 15:27:32 +02:00
Chintan Radia
87fac14505 Fix startup failure when using VaultPropertySource + reactive (#1994)
Fixes gh-1990

When using `@ValuePropertySource` in reactive web app,
`KafkaSender` bean is getting created before `BeanPostProcessor` populate `@Value`
and as a result topic is passed as `null` in `KafkaSender.Builder` and it throws `NullPointerException`

To resolve this we are using `Environment` to get the property value instead on relying on `BeanPostProcessor`
to populate `@Value`
2021-07-13 10:14:21 -07:00
Oleg Zhurakousky
3793c58fe8 Add reactive Supplier test 2021-07-09 16:39:39 +02:00
Marcin Grzejszczak
8b61684168 Ensures that there are no issues with context setup when picking custom propagation type (#1989)
fixes gh-1987
2021-07-02 08:14:05 -07:00
Marcin Grzejszczak
e9d55a3af0 Added awaitility to benchmarks 2021-07-02 13:13:42 +02:00
Oleg Zhurakousky
c896158804 GH-1975 Fix test after SCF change
Fix sleuth tests related to the change in SCF - c86890806e
2021-06-28 19:22:58 +02:00
Andrew Flower
08b4c1368e Broaden caught exceptions (#1985)
Handle BeanCreationException instead of just BeanCurrentlyInCreationException.

This handles the case when a cyclic reference (causing a BeanCurrentlyInCreationException) occurs further down the line - when it is not the actuator of that references the in-creation HttpTracing bean, but a dependency of that actuator. In this case the exception that bubbles up here is an UnsatisfiedDependencyException, which is a BeanCreationException
2021-06-24 17:42:53 +02:00
Marcin Grzejszczak
b876551a78 Fixing sc function (#1983)
- Removed an unnecessary child span; the parent span was never ended
- Added tests
2021-06-23 17:20:01 +02:00
buildmaster
e17ae7445a Bumping versions 2021-06-22 17:34:30 +00:00
buildmaster
900cb86545 Bumping versions 2021-06-18 17:28:30 +00:00
Oleg Zhurakousky
d1d70f0f01 Remove s-c-function version from instrumentation POM 2021-06-17 15:14:41 +02:00
Oleg Zhurakousky
a2c5190c33 Remove commented code 2021-06-17 14:35:55 +02:00
Oleg Zhurakousky
aa87398787 GH-1975 Add tracing support for Supplier function
This is an extension to SCF fix 293ccd7425
which allows Suppliers to generate initial tracing information

Resolves #1975
2021-06-17 14:32:31 +02:00
Marcin Grzejszczak
9392f186d1 Making simple span a real span 2021-06-17 10:15:31 +02:00
Marcin Grzejszczak
49b4cfe920 Added simple tracer 2021-06-17 09:58:31 +02:00