Commit Graph

205 Commits

Author SHA1 Message Date
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
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
buildmaster
2dc9556cc3 Bumping versions to 3.0.2-SNAPSHOT after release 2021-01-27 21:15:42 +00:00
buildmaster
5394ecb9ec Going back to snapshots 2021-01-27 21:15:41 +00:00
buildmaster
49f5528e69 Update SNAPSHOT to 3.0.1 2021-01-27 21:12:10 +00:00
Roman Matiushchenko
615f70c03a handle double wrapping 2021-01-24 20:50:14 +02:00
Roman Matiushchenko
e5329a9bb2 optimize reactor on_each instrumentation 2021-01-23 22:36:44 +02:00
kubav182
1cf3337cae Accept properties prefix spring.sleuth.messaging instead of spring.sleuth.messaging.messaging. Fixes gh-1813 (#1821) 2021-01-11 10:45:17 +01:00
Csaba Kos
40a00214b5 Set remote IP and port for servlet HTTP server traces. (#1817)
* Set remote IP and port for servlet HTTP server traces.

* Add null check and use broader ServletRequest type instead of HttpServletRequest.
2021-01-08 10:38:04 -08:00
buildmaster
ca2e15fc76 Bumping versions 2020-12-22 18:28:05 +00:00
buildmaster
ea66740e2e Bumping versions 2020-12-22 05:29:47 +00:00
buildmaster
7ed5683386 Bumping versions to 3.0.1-SNAPSHOT after release 2020-12-21 20:12:10 +00:00
buildmaster
749c1cc9e2 Going back to snapshots 2020-12-21 20:12:10 +00:00
buildmaster
dbe4853e36 Update SNAPSHOT to 3.0.0 2020-12-21 20:07:38 +00:00
buildmaster
02c00bb682 Bumping versions 2020-12-18 05:29:57 +00:00
Marcin Grzejszczak
3cbb3343b4 Fixed failing compilation 2020-12-16 09:17:39 +01:00
buildmaster
be35aaec21 Going back to snapshots 2020-12-11 22:29:42 +00:00
buildmaster
5630b3fa61 Update SNAPSHOT to 3.0.0-RC1 2020-12-11 22:27:43 +00:00
Marcin Grzejszczak
4c3d12e639 Removed OTel (#1802) 2020-12-10 22:19:57 +01:00
Marcin Grzejszczak
89433dc4d7 Added test framework as part of the BOM 2020-12-10 19:17:05 +01:00
Olga Maciaszek-Sharma
996a4c1e10 Adjust to changes in commons. 2020-12-10 17:48:31 +01:00
Olga Maciaszek-Sharma
3e47aae3c6 Adjust to changes in commons. 2020-12-10 14:10:23 +01:00
Olga Maciaszek-Sharma
24884ec277 Adjust to changes in commons. 2020-12-10 14:03:36 +01:00
Marcin Grzejszczak
e1ed4c9f00 Merge branch '2.2.x' 2020-12-10 11:51:44 +01:00
Marcin Grzejszczak
0f458b03ee Making Redis tracing lazy; fixes gh-1756 2020-12-10 11:41:48 +01:00
Marcin Grzejszczak
0c91065996 Separated the propagation setter and getter
fixes gh-1797
2020-12-10 09:57:35 +01:00
Marcin Grzejszczak
e5ac1bf01f Merge branch '2.2.x' 2020-12-04 12:09:43 +01:00
Marcin Grzejszczak
68497e0c51 Guarding context retreval; fixes gh-1789 2020-12-04 11:46:14 +01:00
Marcin Grzejszczak
eea32b48b3 Merged 2.2.x 2020-12-03 18:20:48 +01:00
buildmaster
f3b384a8aa Going back to snapshots 2020-12-01 23:11:38 +00:00
buildmaster
df54a7b772 Update SNAPSHOT to 3.0.0-M6 2020-12-01 23:09:32 +00:00
Marcin Grzejszczak
a5f58c50b9 Merge branch '2.2.x' 2020-12-01 22:05:23 +01:00
Marcin Grzejszczak
cb03ca0f86 Ensures that all executor service based tracing is done when context is ready; fixes gh-1128 2020-12-01 14:26:23 +01:00
Marcin Grzejszczak
c82a9be5d5 Added conditional on class for web auto configuration; fixes gh-1790 2020-12-01 13:44:12 +01:00
Marcin Grzejszczak
79e0bf1d36 Bumped OTel to 0.11.0; fixes gh-1787 2020-11-30 15:34:53 +01:00
Marcin Grzejszczak
4bebf0a501 Increased timeout for better tests stability when executed in parallel 2020-11-25 14:48:53 +01:00
Marcin Grzejszczak
f027196b84 Stops wrapping the Reactor's ExecutorService; fixes gh-1786 2020-11-25 14:37:14 +01:00
Marcin Grzejszczak
d3e8a16052 Only propgate b3 baggage when b3 picked; fixes gh-1781 2020-11-24 17:24:08 +01:00
Marcin Grzejszczak
76ad931b42 Refactoring modules to be consistent with Spring Boot (#1784)
# Modules

* New modules: `spring-cloud-sleuth-autoconfigure`, `spring-cloud-sleuth-api`, `spring-cloud-sleuth-instrumentation`
  `spring-cloud-sleuth-core` removed and changed to `spring-cloud-sleuth-instrumentation` & `spring-cloud-sleuth-api`
* Removed `spring-cloud-starter-sleuth-otel`
  To add OpenTelemetry support you need to add `spring-cloud-starter-sleuth` (adds Brave by default), exclude Brave and add `spring-cloud-sleuth-otel` dependency
* Except for the tests, `spring-cloud-sleuth-autoconfigure` is the only module that can have access to `@Configuration`, `@ConfigurationProperties` classes.
Tests have been added to ensure such separation.

## Package moving

* `org.springframework.cloud.sleuth.api` -> `org.springframework.cloud.sleuth`
* `org.springframework.cloud.sleuth.brave.autoconfig` -> `org.springframework.cloud.sleuth.autoconfig.brave`
* `org.springframework.cloud.sleuth.otel.autoconfig` -> `org.springframework.cloud.sleuth.autoconfig.otel`
* `org.springframework.cloud.sleuth` -> `org.springframework.cloud.sleuth`
* Instrumentation: `org.springframework.cloud.sleuth.annotation` -> `org.springframework.cloud.sleuth.instrument.annotation`
* All the autoconfiguration classes were moved under `org.springframework.cloud/sleuth.autoconfig` package

## Global class modifications

* Any class registered as a bean is now public

## Classes

* `RateLimitingSampler` constructor changed
* Merged a lot of auto configuration classes into one (e.g. `BraveAutoConfiguration` now imports various other configurations)
* Renamed `TraceBraveAutoConfiguration` to `BraveAutoConfiguration`
* Renamed `TraceOtelAutoConfiguration` to `OtelAutoConfiguration`
* Removed all `NoOp` implementations of the API
2020-11-23 15:39:13 +01:00
buildmaster
6a1495db5c Going back to snapshots 2020-11-17 21:06:46 +00:00
buildmaster
4b5bd34bbc Update SNAPSHOT to 3.0.0-M5 2020-11-17 21:04:48 +00:00
Marcin Grzejszczak
ee3d98c277 Removed jetbrains annotations 2020-11-16 12:54:40 +01:00
buildmaster
d2ea5f1b75 Bumping versions to 2.2.7.BUILD-SNAPSHOT after release 2020-11-09 11:03:34 +00:00
buildmaster
a2ff64e797 Going back to snapshots 2020-11-09 11:03:34 +00:00
buildmaster
97b99bf9e3 Update SNAPSHOT to 2.2.6.RELEASE 2020-11-09 11:01:22 +00:00
Marcin Grzejszczak
06d353f155 Migrated to OTel 0.10.0 2020-11-06 14:59:11 +01:00