Skip to content

Commit 9c8716e

Browse files
committed
Add spring-boot-micrometer-tracing to spring-boot-starter-zipkin
This also adds io.micrometer:micrometer-tracing-bridge-brave to the Zipkin starter, otherwise we'd get no traces exported. This also adds spring-boot-micrometer-tracing-test to the Zipkin test starter. Closes gh-47866
1 parent e071006 commit 9c8716e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

starter/spring-boot-starter-zipkin-test/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,8 @@ description = "Starter for testing Zipkin"
2222

2323
dependencies {
2424
api(project(":starter:spring-boot-starter-test"))
25+
2526
api(project(":starter:spring-boot-starter-zipkin"))
27+
28+
api(project(":module:spring-boot-micrometer-tracing-test"))
2629
}

starter/spring-boot-starter-zipkin/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,10 @@ description = "Starter for using Zipkin"
2323
dependencies {
2424
api(project(":starter:spring-boot-starter"))
2525

26+
api(project(":module:spring-boot-micrometer-tracing"))
2627
api(project(":module:spring-boot-zipkin"))
28+
29+
runtimeOnly("io.micrometer:micrometer-tracing-bridge-brave") {
30+
exclude(group: "aopalliance", module: "aopalliance")
31+
}
2732
}

0 commit comments

Comments
 (0)