Commit Graph

3014 Commits

Author SHA1 Message Date
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
Artem Bilan
fa1e0b87b5 TracingChannelInterceptor: simple refactoring (#1948)
* TracingChannelInterceptor: simple refactoring

* * More clean up in the `TracingChannelInterceptor`
 - Move Spring Cloud Stream classes logic into `static` methods
to avoid eager load for those classes which are not present on CP
- Remove `emptyMessage()` since the contract for `ChannelInterceptor`
never accept a `null`
- Remove thread state manipulation from the `postReceive()` since
no one takes care about thread local afterwards
- Remove `afterReceiveCompletion()` in favor of its `default` impl
in the interface: we don't do thread local manipulation for `receive()`
since `afterReceiveCompletion()` is called *before* the message is really
returned to the target subscriber on the channel

* * Restore span manipulation for `receive()`.
Even if we don't need a thread local store, we still
need to call `span.end()` and set an exception tag
to it if any.
So, just reuse an existing API which includes thread local.
Even if we don't need it logically, there might be some
other interceptors in between which would like to take a
span from thread local do something even on that "void"
`receive()` operation
2021-05-25 15:42:53 +02:00
Marcin Grzejszczak
30b17f7576 Don't cache the bean factory as key;fixes gh-1958 2021-05-25 13:18:09 +02:00
Marcin Grzejszczak
86e035f21a Removed Brave reference from configruation 2021-05-20 09:55:32 +02:00
Marcin Grzejszczak
0e38dd3878 Wraps producer / consumer once only (#1923)
* Wraps producer / consumer once only

without this change we can wrap the kafka consumer / producer multiple times. First via post processors, second via aspect
with this change we're doing it only once via post processors. we do not wrap factories

fixes gh-1921
2021-05-10 16:22:39 +02:00
buildmaster
7e79c6c2bc Bumping versions 2021-05-05 17:28:51 +00:00
Marcin Grzejszczak
55586ac6fd Master -> main 2021-05-05 10:32:21 +02:00
Marcin Grzejszczak
085f29e7bf Master to main 2021-04-26 19:07:34 +02:00
Marcin Grzejszczak
1bcccbae6e Added missing method for AOP wrapping (#1924)
fixes gh-1922
2021-04-22 11:27:08 +02:00
Marcin Grzejszczak
10c67d64e5 Removed test commons version 2021-04-20 09:26:26 +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
4ede1ae5b0 Update bug_report.md 2021-04-16 10:36:22 +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
buildmaster
a2e5c2c1c5 Bumping versions 2021-04-10 05:30:18 +00:00
Marcin Grzejszczak
88c7b664ca Polish 2021-04-09 14:53:14 +02:00
Oleg Zhurakousky
ebe684007e Add binding mapping logic to TraceFunctionAroundWrapper
Removed unnecessary 'if debug' checks
2021-04-09 13:46:32 +02:00
buildmaster
5ebed5305d Bumping versions 2021-04-09 05:30:08 +00:00
Marcin Grzejszczak
3709ed80e7 Fixed missing options for benchmarks 2021-04-06 11:44:25 +02:00
Marcin Grzejszczak
00b4771a74 Fixed the build for boot 2.5 2021-04-06 11:35:54 +02:00
Marcin Grzejszczak
dc71088ff0 Improve the reactor netty instrumentation; fixes gh-1899 2021-04-02 09:32:19 +02:00
Marcin Grzejszczak
8321b23658 Fixes benchmarks 2021-04-01 12:24:38 +02:00
Marcin Grzejszczak
017caaf9b2 WebClient reuses current trace context if present; fixes gh-1891 2021-04-01 09:18:19 +02:00
Marcin Grzejszczak
5ab1c13f0c Assuming 500 status code when an exception was thrown (#1889)
* Assuming 500 status code when an exception was thrown in the controller; fixes gh-1880

* Ensures that the response is committed
2021-03-30 13:22:35 +02:00
Marcin Grzejszczak
28d8802f4a Merge branch '2.2.x' 2021-03-29 15:00:54 +02:00
Marcin Grzejszczak
dad3d80408 Allows overriding of the default logging pattern
fixes gh-1863
2021-03-29 14:12:04 +02:00
spencergibb
3fc6c43c05 Adds stream versions in specific locations 2021-03-26 14:18:26 -04:00
spencergibb
3b3bdfd31e Moves stream/fn to 3.1.3-SNAPSHOT and removes management of reactive mongo driver in favor of boot. 2021-03-26 13:07:27 -04:00
Jonatan Ivanov
7ef8f3886a Call out simple and Java for the sample in bug_report.md 2021-03-22 11:39:31 -07:00
buildmaster
1ff755d564 Bumping versions 2021-03-19 05:30:02 +00:00
Ryan Baxter
40c3ff9abc Aligning Sleuth docs with rest of the projects 2021-03-18 19:30:40 -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
bf467a9a15 Bumping versions 2021-03-18 05:29:41 +00: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
Artem Ptushkin
39094e1614 #1874: make message header getter case insensitive for propagated headers (#1884) 2021-03-17 10:46:55 +01:00
Marcin Grzejszczak
984f62c32d Fixed custom propagation mode option
with this change when CUSTOM mode is turned on we will search for user provided Propagation bean or else noop

fixes gh-1836
2021-03-16 17:00:56 +01:00
Marcin Grzejszczak
8d9e93fa08 Fixed checkstyle 2021-03-16 16:25:42 +01:00
Marcin Grzejszczak
e48ebb045e Exposes TraceExchangeFilterFunction; fixes gh-1847 2021-03-16 16:16:15 +01:00
Marcin Grzejszczak
8f9c51ac81 Fixed checkstyle 2021-03-16 15:57:54 +01: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
658490d870 Fixed web tests 2021-03-16 15:53:28 +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