3062 Commits

Author SHA1 Message Date
Marcin Grzejszczak
082ccbd2f2 Spring Security 2021-06-01 16:21:06 +02:00
Marcin Grzejszczak
6a094db84e Changed the logging defaults 2021-05-28 14:10:43 +02:00
Marcin Grzejszczak
b255974c00 Fixed autoconfiguration ordering 2021-05-27 15:38:23 +02:00
Marcin Grzejszczak
e12f70d4f6 Made tests less brittle 2021-05-27 14:41:11 +02:00
Marcin Grzejszczak
d15ee050a6 Updated config props 2021-05-27 14:08:12 +02:00
Marcin Grzejszczak
685fb727b5 Polish 2021-05-27 14:05:39 +02:00
Marcin Grzejszczak
8991b4d3cd Moved tests to common 2021-05-27 13:41:44 +02:00
Marcin Grzejszczak
682398daec Polish 2021-05-26 18:36:50 +02:00
Marcin Grzejszczak
12737adb67 JDBC tracing context not leaking
without this change there were cases (that we didn't test) where the tracing context would leak and pollute other parts of the code (including tests)
with this change we ensure that in case of errors we don't allow any dangling tracing context
2021-05-26 18:05:43 +02:00
Marcin Grzejszczak
feeb251f09 Trying to make tests less brittle 2021-05-26 10:34:45 +02:00
Marcin Grzejszczak
190a15de57 Adding jdbc instrumentation (#1959)
fixes gh-1930
2021-05-26 10:00:14 +02: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
b591e0f474 Merge branch 'main' into 3.1.x 2021-05-25 13:18:21 +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
2dd82624e5 Added support for Tomcat's Valve; fixes gh-1329 2021-05-20 18:55:07 +02:00
Marcin Grzejszczak
c1bf0fb5db Merge remote-tracking branch 'origin/main' into 3.1.x 2021-05-20 09:55:50 +02:00
Marcin Grzejszczak
86e035f21a Removed Brave reference from configruation 2021-05-20 09:55:32 +02:00
Marcin Grzejszczak
e7e97a65b6 Removed Brave reference from configruation 2021-05-20 09:51:23 +02:00
Marcin Grzejszczak
f4830ea8b3 Changed equality to include asserting span as a proxy 2021-05-19 08:38:50 +02:00
Marcin Grzejszczak
1273fa01bf Added Vault integration; fixes gh-1952 2021-05-18 19:34:46 +02:00
Marcin Grzejszczak
d2041cbd47 Automatic tag table generation
Without this change we don't even really know how many tags are created and what are their values.
With this change we want this information to be automatically rendered.
2021-05-18 14:50:04 +02:00
Marcin Grzejszczak
697a726cde Added new tags to the deployer 2021-05-13 10:35:14 +02:00
Marcin Grzejszczak
2461ae15dd Fixed checkstyle 2021-05-13 09:33:17 +02:00
Marcin Grzejszczak
6b2d1b907d Fixed the build 2021-05-13 09:30:12 +02:00
Marcin Grzejszczak
4241bca952 Deployer uses remoteServiceName; fixes gh-1947 2021-05-13 09:17:37 +02:00
Marcin Grzejszczak
181c789020 Adds R2DBC support (#1946)
fixes gh-1524
2021-05-13 09:12:04 +02:00
Marcin Grzejszczak
5db11326b8 Merge branch 'main' into 3.1.x 2021-05-10 16:22:57 +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
Marcin Grzejszczak
742c23abdc Paramterize the name in tests 2021-05-10 10:33:59 +02:00
Marcin Grzejszczak
3c8e93ebca Disables tx for task 2021-05-10 09:36:30 +02:00
Flaviu Mureșan
4070712f11 Added reactor-kafka autoconfig to spring.factories (#1943) 2021-05-08 14:14:57 +02:00
Jason Hinch
ac729f141d Modify WebClient tracing to include the uri template in generated span names (#1940)
Spans names are in the form '<http method> <uri template>'
(e.g. 'GET /path/{id}'). This naming strategy matches the span names
generated by TraceWebFilter.

The improve naming strategy is not applied to RestTemplate as the uri
template is not readily available to interceptors and RestTemplate is
in maintenance mode
2021-05-07 22:21:54 +02:00
Flaviu Mureșan
59c170d147 Kafka instrumentation enhancements (#1936)
* Bump javadocs since version to 3.1.0

* Extend integration tests to cover all Kafka clients

* Add autoconfiguration module for kafka instrumentation

* Refactor instrumentation for reactive Kafka Receiver

* Refactor instrumentation for reactive Kafka Receiver

* Add docs for Kafka instrumentation

* Revert "Refactor instrumentation for reactive Kafka Receiver"

This reverts commit 58c8f2fa

* Revert "Revert "Refactor instrumentation for reactive Kafka Receiver""

This reverts commit 450a9f8c

* Remove empty test

* Resolve comments from PR 1936

* Revert whitespaces

* Revert whitespaces in common tests pom.xml

* Fix autoconfig to consider generics when registering beans.
Only register reactor-kafka beans if the dependency is on the classpath.

* Split autoconfig for kafka and reactor-kafka
2021-05-07 22:20:37 +02:00
Marcin Grzejszczak
507e918c39 Added TX support
fixes gh-1941
2021-05-07 16:33:37 +02:00
Marcin Grzejszczak
4fef057e96 Added a ZipkinRestTemplateProvider to allow customization of the rest template; fixes gh-1932 2021-05-06 09:54:25 +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
efe08e68b4 Updated docs 2021-04-30 14:33:54 +02:00
Marcin Grzejszczak
fffe64c1d3 Polish 2021-04-30 14:26:48 +02:00
Marcin Grzejszczak
fc0a719d12 Added batch instrumentation
fixes gh-1904
2021-04-30 14:12:16 +02:00
Marcin Grzejszczak
302e718fff Make RSocket tests configurable for OTel 2021-04-29 17:09:53 +02:00
Marcin Grzejszczak
a35929b06d Use equality instead of contains 2021-04-29 17:05:42 +02:00
Marcin Grzejszczak
fe0579f9cd Use string instead of brave class 2021-04-29 17:04:23 +02:00
Marcin Grzejszczak
a6bf9a328a Fixed the messaging aspect 2021-04-29 14:08:49 +02:00
Marcin Grzejszczak
3a4a82057c Merge remote-tracking branch 'origin' into 3.1.x 2021-04-29 13:35:21 +02:00
Marcin Grzejszczak
216d681b04 Adds RSocket instrumentation
coauthor @olegdokuka

fixes gh-1677
2021-04-29 13:32:58 +02:00
Marcin Grzejszczak
ba8da46e20 Update TraceAppDeployer.java 2021-04-26 22:58:28 +02:00
Marcin Grzejszczak
085f29e7bf Master to main 2021-04-26 19:07:34 +02:00
Marcin Grzejszczak
793c1b6752 Polished the docs 2021-04-26 15:29:18 +02:00
Marcin Grzejszczak
0f23f9d52f Spring Cloud Deployer feature (#1925)
* Spring Cloud Deployer; fixes gh-1905

* Polish
2021-04-26 15:19:51 +02:00