90 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Marcin Grzejszczak
988c85fc5b Polish 2021-06-07 14:25:18 +02:00
Marcin Grzejszczak
6bca07075f Fixed brave redis setup
fixes gh-1971
2021-06-07 14:14:19 +02:00
buildmaster
58eb56d796 Going back to snapshots 2021-05-27 21:49:30 +00:00
buildmaster
c8da912f85 Update SNAPSHOT to 3.0.3 2021-05-27 21:44:52 +00:00
buildmaster
e478f2eb11 Bumping versions to 3.0.4-SNAPSHOT after release 2021-05-27 09:05:42 +00:00
buildmaster
92b857ad33 Going back to snapshots 2021-05-27 09:05:42 +00:00
buildmaster
837ef78089 Update SNAPSHOT to 3.0.3 2021-05-27 09:01:00 +00:00
Marcin Grzejszczak
86e035f21a Removed Brave reference from configruation 2021-05-20 09:55:32 +02:00
Marcin Grzejszczak
9bd6c2e29b Ensures that for decorate_hooks we add onLast instrumentation; fixes gh-1900 2021-04-16 12:20:49 +02:00
Marcin Grzejszczak
39617c6cf6 Updated the project to work with jdk16 (#1902)
* Updated the project to work with jdk16

* Updates build for jdk8

* Added tests
2021-04-14 15:25:13 +02:00
Marcin Grzejszczak
8d86e19807 Added remoteServiceName to Span interface; fixes gh-1901 2021-04-13 08:57:45 +02:00
Marcin Grzejszczak
00b4771a74 Fixed the build for boot 2.5 2021-04-06 11:35:54 +02:00
Marcin Grzejszczak
28d8802f4a Merge branch '2.2.x' 2021-03-29 15:00:54 +02:00
spencergibb
3fc6c43c05 Adds stream versions in specific locations 2021-03-26 14:18:26 -04:00
Marcin Grzejszczak
fcd85362dd Reuses configuration from the given propagation type; fixes gh-1846 2021-03-18 17:25:47 +01:00
Marcin Grzejszczak
7ad006b440 Added support for netty-http-brave; fixes gh-1690 2021-03-18 13:35:47 +01:00
buildmaster
d2c29938b8 Bumping versions to 3.0.3-SNAPSHOT after release 2021-03-17 22:12:44 +00:00
buildmaster
dfc5674cea Going back to snapshots 2021-03-17 22:12:44 +00:00
buildmaster
551094af4a Update SNAPSHOT to 3.0.2 2021-03-17 22:09:09 +00:00
Marcin Grzejszczak
4ba698c040 Updated the feign builder tracing logic
without this change a default Feign.Builder doesn't have its feign.Client instrumented
with this change we're using reflection to instrument that Client

fixes gh-1870
2021-03-16 15:53:44 +01:00
Marcin Grzejszczak
93b59a6d75 Don't allow double Gateway instrumentation (#1882)
* Don't allow double Gateway instrumentation

with this change we're doing both HeaderFilter based Gateway instrumentation and the Netty Client one.
with this change we're conditionally enabling the HeaderFilter instrumentation only when there is no Netty Client one present on the classpath.

fixes gh-1840
2021-03-16 14:42:44 +01:00
Marcin Grzejszczak
2348cf17cc Disable double tracing filter regsitration
without this change we're registering the TracingFilter twice. Once, since it's a bean and second time via the FilterRegistrationBean.
with this change we're not registering the TracingFilter as a bean. It's been final so nobody could actually extend it so we're not breaking the compatibility.

fixes gh-1839
2021-03-16 12:58:46 +01:00
Marcin Grzejszczak
e8c0c5eaba SkipPatternConfiguration will reuse management.server.base-path property (#1883)
fixes gh-1880
2021-03-16 11:59:05 +01:00
Marcin Grzejszczak
7fa4538dfc Polish 2021-03-16 11:58:46 +01:00
buildmaster
8b4ef12c6e Bumping versions 2021-03-09 05:30:28 +00:00
Chintan Radia
f9079cb6a2 1864 do not configure trace for async mongodb (#1869)
* Do not autoconfigure Branve Mongo DB trace for async mongo db

* Fix checkstyle violations

* Add Junit to test BraveMongoDBAutoConfig for async mongo db driver

* Minor fixes

* Use JUnit 5
2021-03-08 19:51:01 -08:00
Marcin Grzejszczak
cb9d45d3fe Merge branch '2.2.x' 2021-02-26 14:17:34 +01:00
Marcin Grzejszczak
ba31f58d2a Polish 2021-02-26 10:30:12 +01:00
Marcin Grzejszczak
899410a2b0 Updated copyrights 2021-02-25 15:24:10 +01:00
Marcin Grzejszczak
05d5678eba New reactor queue wrapping (#1858)
fixes gh-1843
2021-02-25 15:22:57 +01:00