Commit Graph

2971 Commits

Author SHA1 Message Date
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
Marcin Grzejszczak
3000680a3e Don't wrap operators when context not active
fixes gh-1856
2021-03-16 11:58:31 +01:00
blake-bauman
d090ce3255 Issue 1860 - WebFluxSleuthOperators should use ContextView (#1881)
* Adds variant of WebFluxSleuthOperators methods which use ContextView
* Have existing methods using Context invoke the new methods

Fixes gh-1860
2021-03-15 19:52:23 +01:00
Marcin Grzejszczak
630229c632 Fixed the wrong SCM settings 2021-03-09 08:52:32 +01:00
Marcin Grzejszczak
3d8012fc56 Parameterized the path key (OTel uses http.route) 2021-03-09 08:50:32 +01:00
Marcin Grzejszczak
a9f8efed73 Added missing project versions 2021-03-09 08:50:32 +01:00
Marcin Grzejszczak
c8a3b1b669 Updated the reactor instrumentation docs 2021-03-09 08:50:32 +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
Julien
5fb0b3304c Ability to set a custom Client delegate with SleuthFeignBuilder (#1866) 2021-03-02 22:16:20 -08:00
Marcin Grzejszczak
cb9d45d3fe Merge branch '2.2.x' 2021-02-26 14:17:34 +01:00
Marcin Grzejszczak
2e902a7fec Makes the new queueInstrumentation opt-in 2021-02-26 13:53:52 +01:00
Marcin Grzejszczak
ba31f58d2a Polish 2021-02-26 10:30:12 +01:00
Marcin Grzejszczak
4b123747b3 Making tests less brittle 2021-02-26 10:20:53 +01:00
Marcin Grzejszczak
081171b699 Should clear scope after flux test 2021-02-26 10:13:38 +01:00
Marcin Grzejszczak
800a4dd5ce Polish 2021-02-26 10:07:47 +01:00
Marcin Grzejszczak
1c6c1ce666 Fixed checkstyle 2021-02-26 10:00:22 +01:00
Marcin Grzejszczak
79d2969930 Added debug info 2021-02-26 09:58:16 +01:00
Marcin Grzejszczak
b398ae6be3 Updated benchmarks 2021-02-26 09:38:44 +01:00
Marcin Grzejszczak
985e669f02 Added missing scope clearing 2021-02-25 16:02:00 +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
Marcin Grzejszczak
36bc95976d Changed the name from decorateHooks to decorateQueues 2021-02-25 15:22:00 +01:00
Marcin Grzejszczak
827e079f12 Delete Issue866Configuration.java 2021-02-25 14:14:09 +01:00
Marcin Grzejszczak
de33b91739 Upgraded copyrights 2021-02-25 12:43:46 +01:00
Marcin Grzejszczak
a937765c9f New reactor queue wrapping (#1858)
fixes gh-1843
2021-02-25 12:43:00 +01:00
Marcin Grzejszczak
a888e2c6b8 Fixed a typo (Rabbit -> ActiveMQ)
fixes #1857
2021-02-23 12:00:02 +01:00
Marcin Grzejszczak
58445f5a49 Making the breaking change not breaking anymore 2021-02-22 08:43:14 +01:00
Marcin Grzejszczak
68f284d1cf Opened API, added methods required for Wavefront integration with OTel (#1852) 2021-02-19 12:00:27 -08:00
Marcin Grzejszczak
b3ff42eade Added backward compatible changes 2021-02-19 12:26:52 +01:00
Marcin Grzejszczak
8d87ea7fd3 Merge branch 'optimize-reactor-hooks' of https://github.com/robotmrv/spring-cloud-sleuth into robotmrv-optimize-reactor-hooks 2021-02-19 10:59:17 +01:00
Marcin Grzejszczak
abf943e64f Updating flux status code depending on the exception thrown; fixes gh-1852 2021-02-19 10:53:09 +01:00
Marcin Grzejszczak
b9419438eb Updating flux status code depending on the exception thrown; fixes gh-1852 2021-02-19 10:46:44 +01:00
buildmaster
fd707d5d67 Bumping versions 2021-02-19 05:30:04 +00:00
buildmaster
5e7e780ea2 Bumping versions to 2.2.8.BUILD-SNAPSHOT after release 2021-02-11 14:38:10 +00:00
buildmaster
c685e63705 Going back to snapshots 2021-02-11 14:38:09 +00:00
buildmaster
86a619b922 Update SNAPSHOT to 2.2.7.RELEASE 2021-02-11 14:35:58 +00:00
Andrew Flower
a9c7521843 Add closing backtick for false keyword (#1844) 2021-02-09 14:48:28 -08:00
Olga Maciaszek-Sharma
3646b786a7 Merge remote-tracking branch 'origin/2.2.x'
# Conflicts:
#	.github/workflows/maven.yml
#	spring-cloud-sleuth-instrumentation/src/main/java/org/springframework/cloud/sleuth/instrument/web/client/feign/TraceFeignBlockingLoadBalancerClient.java
#	spring-cloud-sleuth-instrumentation/src/main/java/org/springframework/cloud/sleuth/instrument/web/client/feign/TraceRetryableFeignBlockingLoadBalancerClient.java
2021-02-08 15:58:06 +01:00
Olga Maciaszek-Sharma
b3c038b427 Remove ClientException check for TraceFeignBlockingLoadBalancerClient and TraceRetryableFeignBlockingLoadBalancerClient (#1842)
* Remove ClientException check for TraceFeignBlockingLoadBalancerClient and TraceRetryableFeignBlockingLoadBalancerClient. Fixes gh-1838.

* Trigger Build
2021-02-08 15:40:14 +01:00
Marcin Grzejszczak
f2d2109f8c Added github action for PRs 2021-02-08 13:11:26 +01:00
Jonatan Ivanov
ae716c745e Merge branch '2.2.x'
# Conflicts:
#	spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/client/feign/TracingFeignObjectWrapperTests.java
#	spring-cloud-sleuth-instrumentation/src/main/java/org/springframework/cloud/sleuth/instrument/web/client/feign/TraceFeignObjectWrapper.java
2021-01-29 21:05:29 -08:00
Jonatan Ivanov
dbf57a2870 Fixing infinite wrapping of LazyTracingFeignClient, see: gh-1824 (#1837) 2021-01-29 20:52:00 -08:00