Commit Graph

449 Commits

Author SHA1 Message Date
Marcin Grzejszczak
6bca07075f Fixed brave redis setup
fixes gh-1971
2021-06-07 14:14:19 +02:00
Marcin Grzejszczak
55586ac6fd Master -> main 2021-05-05 10:32:21 +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
Ryan Baxter
40c3ff9abc Aligning Sleuth docs with rest of the projects 2021-03-18 19:30:40 -04:00
Marcin Grzejszczak
c8a3b1b669 Updated the reactor instrumentation docs 2021-03-09 08:50:32 +01:00
Maziz
10ff66372e Implement mechanism to apply custom api path (#1859)
* Implement mechanism to apply custom api path to the sleuth server baseUrl.
This comes in handy when another monitoring tool is being used, for instance new relic, which doesn't not require path in its tracing api.

* Fix up documentation on the ZipkinProperties

* Update the main documentation for api path

* Add missing comma
2021-02-27 10:16:46 +01:00
Marcin Grzejszczak
2e902a7fec Makes the new queueInstrumentation opt-in 2021-02-26 13:53:52 +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
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
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
Mathias Geat
cdf8b3ea7e Remove spanExportable from sample log file entry in docs (#1826) 2021-01-19 12:23:23 -08:00
Arvind Kumar GS
4a1ea3b78b Fix documentation on number of supported tracers (#1820)
fixes #1819
2021-01-13 10:39:43 +01:00
buildmaster
6e339604f4 Bumping versions 2021-01-12 05:30:13 +00: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
Kacper Fronc
733041bc0a Fix typo in index (#1812) 2020-12-28 00:25:39 -08:00
Marcin Grzejszczak
d271bb6fcd Merge branch '2.2.x' 2020-12-11 12:14:33 +01:00
Marcin Grzejszczak
d0d462a8bf Added docs explaining how to work with @Async and new spans
fixes gh-1738
2020-12-11 12:13:04 +01:00
Marcin Grzejszczak
4c3d12e639 Removed OTel (#1802) 2020-12-10 22:19:57 +01:00
Marcin Grzejszczak
eea32b48b3 Merged 2.2.x 2020-12-03 18:20:48 +01:00
Marcin Grzejszczak
3f0cb2ffaa Adds MessageSpanCustomizer to customize message spans
fixes gh-1772
2020-12-03 14:02:55 +01:00
Marcin Grzejszczak
0bb6addf65 Migrated to Github Actions 2020-11-30 15:46:32 +01:00
buildmaster
c9593b840a Bumping versions 2020-11-26 05:31:49 +00:00
Marcin Grzejszczak
16a9d3633e Fixed properties and wrong images in the docs 2020-11-25 07:51:40 +01:00
buildmaster
a21c33f841 Bumping versions 2020-11-25 05:32:01 +00: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
4d6cb9ca9e Bumping versions 2020-11-20 05:30:22 +00:00
maxxedev
1613c0b85a add doc example for setting extra baggage field in current context (#1778) 2020-11-18 08:38:56 +01:00
maxxedev
4b62b519d1 Add doc example for setting extra baggage field to MDC in current context. (#1777) 2020-11-18 08:38:30 +01:00
buildmaster
791b397964 Bumping versions 2020-11-17 05:31:08 +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
Marcin Grzejszczak
b7cbd0a2fe Updated wrong images 2020-10-29 09:20:14 +01:00
Marcin Grzejszczak
6e306e594d Abstract tracer implementations via an API (#1757)
Spring Cloud Sleuth currently is an autoconfiguration over Brave. It also consists of various instrumentation mechanisms for libraries that are not supported by Brave (e.g. Spring Cloud Circuitbreaker).

We would like to abstract Brave so that Spring Cloud Sleuth becomes an autoconfiguration for any tracer implementation that is compatible with Spring Cloud Sleuth. That way Spring Cloud Sleuth in its core module would consist of an API and various tracer implementations would implement that API which would also allow automatic instrumentation of libraries that are supported by Spring Cloud Sleuth.

## OpenTelemetry Support

Thanks to doing this abstraction we are able to support new tracer implementations, not only Brave. We've decided to add support for the OpenTelemetry SDK as the second one. If in the future if we decide to add new tracers then it will be just a matter of adding a new module that bridges to the Spring Cloud Sleuth one. Thanks to abstraction of tests as well we will be easily able to plug that tracer mechanism into our current suite of tests.
2020-10-23 08:50:23 +02:00
buildmaster
5d4a303d61 Bumping versions 2020-09-23 05:31:16 +00:00
buildmaster
8b1d17fb26 Going back to snapshots 2020-08-28 20:23:44 +00:00
buildmaster
53a15b5b52 Update SNAPSHOT to 2.2.5.RELEASE 2020-08-28 20:21:13 +00:00
buildmaster
1a8c7f83c4 Bumping versions 2020-08-28 05:30:17 +00:00
Marcin Grzejszczak
368eabb412 Added spanHandler that skips span name via patterns; fixes gh-1720 2020-08-27 16:36:37 +02:00
Francisco Mateo
4830ef383e Include WebClient.Builder in HTTP Client Integration docs (#1718) 2020-08-18 18:40:45 +02:00
Marcin Grzejszczak
391059f824 Updated docs 2020-08-13 15:07:13 +02:00
buildmaster
ba19f037df Bumping versions 2020-08-12 05:29:01 +00:00
Marcin Grzejszczak
9d0ee1428d Added an option to disable refresh scope on samplers; fixes gh-1557 2020-08-07 13:57:13 +02:00
buildmaster
8fe9812944 Going back to snapshots 2020-07-31 21:27:20 +00:00