Skip to content

Commit 2b1ea46

Browse files
Merge branch '1.1.x' into main
2 parents 575943a + 8e1a71c commit 2b1ea46

File tree

75 files changed

+2492
-314
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+2492
-314
lines changed

.github/workflows/maven.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Build
55

66
on:
77
push:
8-
branches: [ main ]
8+
branches: [ 1.1.x ]
99
pull_request:
10-
branches: [ main ]
10+
branches: [ 1.1.x ]
1111

1212
jobs:
1313
build:
@@ -28,4 +28,4 @@ jobs:
2828
restore-keys: |
2929
${{ runner.os }}-maven-
3030
- name: Build with Maven
31-
run: ./mvnw clean install -B -U
31+
run: ./mvnw clean install -B -U

benchmarks/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<name>Benchmarks</name>
2323
<description>Benchmarks (JMH)</description>
2424
<groupId>org.springframework.cloud</groupId>
25-
<version>1.0.0-M8</version>
25+
<version>1.1.0-SNAPSHOT</version>
2626
<artifactId>otel-benchmarks</artifactId>
2727

2828
<parent>

docs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.springframework.cloud</groupId>
2323
<artifactId>spring-cloud-sleuth-otel-parent</artifactId>
24-
<version>1.0.0-SNAPSHOT</version>
24+
<version>1.1.0-SNAPSHOT</version>
2525
<relativePath>..</relativePath>
2626
</parent>
2727
<artifactId>spring-cloud-sleuth-otel-docs</artifactId>

docs/src/main/asciidoc/project-features.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,13 @@ Regardless of the chosen tracer implementation it's enough to add `spring-cloud-
8181
You can choose whether to do that via HTTP or messaging.
8282
You can read more about how to do that in "<<howto.adoc#how-to-set-up-sleuth-with-otel-zipkin-messaging,how to section>>".
8383

84+
[[features-traces-actuator]]
85+
== Traces Actuator Endpoint
86+
87+
Spring Cloud Sleuth comes with a `traces` Actuator endpoint that can store finished spans. The endpoint can be queried either via an HTTP Get method to simply retrieve the list of stored spans or via HTTP Post method to retrieve the list and clear it.
88+
89+
In order to represent the OTel spans in a Zipkin format you need to add the `io.opentelemetry:opentelemetry-exporter-zipkin` to the classpath. To represent the spans in an OTLP format you need to add `io.opentelemetry:opentelemetry-exporter-otlp-common` to the classpath.
90+
8491
[[features-whats-next]]
8592
== What to Read Next
8693

docs/src/main/asciidoc/spring-cloud-sleuth-otel.adoc

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include::_index.adoc[]

docs/src/main/asciidoc/spring-cloud-sleuth-otel.htmlsingleadoc

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include::_index_single.adoc[]

pom.xml

Lines changed: 43 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
<modelVersion>4.0.0</modelVersion>
2222

2323
<artifactId>spring-cloud-sleuth-otel-parent</artifactId>
24-
<version>1.0.0-SNAPSHOT</version>
24+
<version>1.1.0-SNAPSHOT</version>
2525
<packaging>pom</packaging>
2626
<name>Spring Cloud Sleuth OTel</name>
2727
<description>Spring Cloud Sleuth OTel</description>
2828

2929
<parent>
3030
<groupId>org.springframework.cloud</groupId>
3131
<artifactId>spring-cloud-build</artifactId>
32-
<version>3.0.3</version>
32+
<version>3.1.0-SNAPSHOT</version>
3333
<relativePath/>
3434
<!-- lookup parent from repository -->
3535
</parent>
@@ -57,15 +57,18 @@
5757
<maven.compiler.source>1.8</maven.compiler.source>
5858
<maven.compiler.testTarget>1.8</maven.compiler.testTarget>
5959
<maven.compiler.testSource>1.8</maven.compiler.testSource>
60-
<spring-cloud-build.version>3.0.3</spring-cloud-build.version>
61-
<spring-cloud-commons.version>3.0.3</spring-cloud-commons.version>
62-
<spring-cloud-sleuth.version>3.0.3</spring-cloud-sleuth.version>
63-
<spring-cloud-gateway.version>3.0.3</spring-cloud-gateway.version>
64-
<spring-cloud-circuitbreaker.version>2.0.2</spring-cloud-circuitbreaker.version>
65-
<spring-cloud-stream.version>3.1.3</spring-cloud-stream.version>
66-
<spring-cloud-function.version>3.1.3</spring-cloud-function.version>
67-
<spring-cloud-netflix.version>3.0.3</spring-cloud-netflix.version>
68-
<spring-cloud-openfeign.version>3.0.3</spring-cloud-openfeign.version>
60+
<spring-cloud-build.version>3.1.0-SNAPSHOT</spring-cloud-build.version>
61+
<spring-cloud-commons.version>3.1.0-SNAPSHOT</spring-cloud-commons.version>
62+
<spring-cloud-sleuth.version>3.1.0-SNAPSHOT</spring-cloud-sleuth.version>
63+
<spring-cloud-gateway.version>3.1.0-SNAPSHOT</spring-cloud-gateway.version>
64+
<spring-cloud-config.version>3.1.0-SNAPSHOT</spring-cloud-config.version>
65+
<spring-cloud-circuitbreaker.version>2.1.0-SNAPSHOT</spring-cloud-circuitbreaker.version>
66+
<spring-cloud-stream.version>3.2.0-SNAPSHOT</spring-cloud-stream.version>
67+
<spring-cloud-function.version>3.2.0-SNAPSHOT</spring-cloud-function.version>
68+
<spring-cloud-netflix.version>3.1.0-SNAPSHOT</spring-cloud-netflix.version>
69+
<spring-cloud-openfeign.version>3.1.0-SNAPSHOT</spring-cloud-openfeign.version>
70+
<spring-cloud-task.version>2.3.3-SNAPSHOT</spring-cloud-task.version>
71+
<spring-cloud-deployer.version>2.7.0-SNAPSHOT</spring-cloud-deployer.version>
6972
<opentracing.version>0.32.0</opentracing.version>
7073
<opentelemetry.version>1.3.0</opentelemetry.version>
7174
<opentelemetry.alpha.version>1.3.0-alpha</opentelemetry.alpha.version>
@@ -89,6 +92,7 @@
8992
<awaitility.version>4.0.3</awaitility.version>
9093
<archunit-junit5.version>0.14.1</archunit-junit5.version>
9194
<jsr305.version>3.0.2</jsr305.version>
95+
<testcontainers.version>1.15.3</testcontainers.version>
9296
</properties>
9397

9498
<build>
@@ -215,6 +219,34 @@
215219
<type>pom</type>
216220
<scope>import</scope>
217221
</dependency>
222+
<dependency>
223+
<groupId>org.springframework.cloud</groupId>
224+
<artifactId>spring-cloud-config-dependencies</artifactId>
225+
<version>${spring-cloud-config.version}</version>
226+
<type>pom</type>
227+
<scope>import</scope>
228+
</dependency>
229+
<dependency>
230+
<groupId>org.springframework.cloud</groupId>
231+
<artifactId>spring-cloud-task-dependencies</artifactId>
232+
<version>${spring-cloud-task.version}</version>
233+
<type>pom</type>
234+
<scope>import</scope>
235+
</dependency>
236+
<dependency>
237+
<groupId>org.springframework.cloud</groupId>
238+
<artifactId>spring-cloud-deployer-dependencies</artifactId>
239+
<version>${spring-cloud-deployer.version}</version>
240+
<scope>import</scope>
241+
<type>pom</type>
242+
</dependency>
243+
<dependency>
244+
<groupId>org.testcontainers</groupId>
245+
<artifactId>testcontainers-bom</artifactId>
246+
<version>${testcontainers.version}</version>
247+
<type>pom</type>
248+
<scope>import</scope>
249+
</dependency>
218250
<dependency>
219251
<groupId>io.opentelemetry</groupId>
220252
<artifactId>opentelemetry-bom</artifactId>

spring-cloud-sleuth-otel-autoconfigure/pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<parent>
3232
<groupId>org.springframework.cloud</groupId>
3333
<artifactId>spring-cloud-sleuth-otel-parent</artifactId>
34-
<version>1.0.0-SNAPSHOT</version>
34+
<version>1.1.0-SNAPSHOT</version>
3535
<relativePath>..</relativePath>
3636
</parent>
3737

@@ -207,6 +207,11 @@
207207
</exclusion>
208208
</exclusions>
209209
</dependency>
210+
<dependency>
211+
<groupId>io.opentelemetry</groupId>
212+
<artifactId>opentelemetry-exporter-otlp-common</artifactId>
213+
<optional>true</optional>
214+
</dependency>
210215

211216
<!-- Zipkin -->
212217
<dependency>

0 commit comments

Comments
 (0)