Commit Graph

38 Commits

Author SHA1 Message Date
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
Marcin Grzejszczak
fb77948e0d One more try with jmh results 2020-07-23 11:32:46 +02:00
Marcin Grzejszczak
a365482eba Fixing the location of a csv report 2020-07-22 17:28:32 +02:00
Marcin Grzejszczak
52998b39a3 Fixes how jmh csv reports are stored 2020-07-22 16:05:28 +02:00
Marcin Grzejszczak
bd70edf635 Improved the way benchmarks are executed 2020-07-21 19:17:32 +02:00
Marcin Grzejszczak
bd149ce4a7 Improvement with Reactor instrumentation
- adds Spring Cloud Function instrumentation
- adds Operators to manually provide instrumentation for Fluxes
- introduces Manual instrumentation mode for Reactor

TODO: Documentation (will add it soon)

related gh-1684
2020-07-21 19:06:55 +02:00
Marcin Grzejszczak
2f7cf78614 Applied checkstyle 2019-02-07 16:41:59 +01:00
Marcin Grzejszczak
87f472ff66 running doc apps tests as part of build 2018-04-13 14:34:11 +02:00
Marcin Grzejszczak
d91a339018 Changed type for cf tests 2018-01-30 18:17:32 +01:00
Marcin Grzejszczak
22d5173b68 Fixed wrong switch placing 2018-01-25 21:46:13 +01:00
Marcin Grzejszczak
f49caf2bd9 Merge branch '1.3.x' 2018-01-25 17:42:55 +01:00
Marcin Grzejszczak
d4b9f8b119 Added branch checking 2018-01-25 13:49:47 +01:00
Marcin Grzejszczak
215577a31c Updated cli 2017-06-05 17:40:35 +02:00
Marcin Grzejszczak
49ccfb5766 Trying to fix benchmarks 2017-02-27 17:00:41 +01:00
Marcin Grzejszczak
0f29735c11 Managing spans with annotations (#526)
The main arguments for these features are

* api-agnostic means to collaborate with a span
    - use of annotations allows users to add to a span with no library dependency on a span api.
    This allows Sleuth to change its core api less impact to user code.
* reduced surface area for basic span operations.
    - without this feature one has to use the span api, which has lifecycle commands that
    could be used incorrectly. By only exposing scope, tag and log functionality, users can
    collaborate without accidentally breaking span lifecycle.
* collaboration with runtime generated code
    - with libraries such as Spring Data / Feign the implementations of interfaces are generated
    at runtime thus span wrapping of objects was tedious. Now you can provide annotations
     over interfaces and arguments of those interfaces

This PR is an adoption of @Koizumi85 work started here - https://github.com/Koizumi85/spring-cloud-sleuth-annotation

fixes #182
2017-02-27 15:26:03 +01:00
Marcin Grzejszczak
0ce6b256ba Added CLI 1.3.0.BS for e2e 2017-02-19 23:07:20 +01:00
Marcin Grzejszczak
49b96d43b6 Added CLI 1.3.0.BS for e2e 2017-02-19 22:52:44 +01:00
Marcin Grzejszczak
f2474dbd20 Updated e2e script 2016-08-17 14:09:19 +02:00
Marcin Grzejszczak
76b8716dc6 Added Kafka script 2016-05-24 12:36:37 +02:00
Marcin Grzejszczak
3fc2994d31 Update runAcceptanceTestsStream.sh 2016-05-11 14:31:13 +02:00
Marcin Grzejszczak
d69e138ffd Update runAcceptanceTests.sh 2016-05-11 14:31:00 +02:00
Marcin Grzejszczak
c62a13aa35 Added JMH & JMeter benchmarks for Sleuth 2016-03-24 16:55:42 +01:00
Marcin Grzejszczak
4a35f1ccaf Resetting the repo for cloud foundry 2016-02-23 09:31:57 +01:00
Marcin Grzejszczak
cd37335153 Removed kill at the end for Cloud Foundry e2e 2016-01-28 20:02:13 +01:00
Marcin Grzejszczak
35f1b0c496 Removed the build directory var export 2016-01-28 13:36:53 +01:00
Marcin Grzejszczak
8dd261edb9 Altered e2e scripts 2016-01-28 13:29:07 +01:00
Marcin Grzejszczak
d6fb303a2c Updated sleuth stream e2e script 2016-01-15 12:37:56 +01:00
Marcin Grzejszczak
034bcdcb35 Updated sleuth e2e script 2016-01-15 12:37:20 +01:00
Marcin Grzejszczak
aa00265c8b Fixed the separate script for Stream e2e 2015-12-31 14:35:24 +01:00
Marcin Grzejszczak
63b985ec42 Removed stream e2e from travis 2015-12-31 14:21:40 +01:00
Marcin Grzejszczak
b48f00f677 Removed version param to use default BOM Brixton Snapshot version 2015-12-18 23:14:47 +01:00
Marcin Grzejszczak
4ef93029fb Fixed wrong switch for sleuth stream 2015-12-16 21:19:34 +01:00
Dave Syer
366eb34b1c Add back SLEUTH_STREAM tests 2015-12-16 17:37:24 +00:00
Dave Syer
eaa3c65a9d Comment out missing acceptance tests 2015-12-16 11:45:18 +00:00
Dave Syer
c49ee09b68 Zipkin java bumped to 0.1.1 2015-12-16 10:57:19 +00:00
Dave Syer
9a38c0d183 Update chmod on sh script 2015-12-15 14:48:13 +00:00
Lukasz Szczesny
55de10f195 Refactored bash script for running acceptance tests 2015-12-11 21:15:30 +01:00
Marcin Grzejszczak
14c1cd1182 Added acceptance tests for Sleuth 2015-12-10 11:48:28 +01:00