Skip to content

Commit c872557

Browse files
committed
Rename management.zipkin.tracing
It's now 'management.tracing.export.zipkin' Closes gh-47958
1 parent 4866f1a commit c872557

File tree

3 files changed

+28
-6
lines changed

3 files changed

+28
-6
lines changed

documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/actuator/tracing.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Tracing with OpenTelemetry and reporting to Zipkin requires the following depend
124124
* `io.micrometer:micrometer-tracing-bridge-otel` - bridges the Micrometer Observation API to OpenTelemetry.
125125
* `io.opentelemetry:opentelemetry-exporter-zipkin` - reports traces to Zipkin.
126126

127-
Use the `management.zipkin.tracing.*` configuration properties to configure reporting to Zipkin.
127+
Use the `management.tracing.export.zipkin.*` configuration properties to configure reporting to Zipkin.
128128

129129

130130

@@ -152,7 +152,7 @@ Tracing with OpenZipkin Brave and reporting to Zipkin requires the following dep
152152
* `io.micrometer:micrometer-tracing-bridge-brave` - bridges the Micrometer Observation API to Brave.
153153
* `io.zipkin.reporter2:zipkin-reporter-brave` - reports traces to Zipkin.
154154

155-
Use the `management.zipkin.tracing.*` configuration properties to configure reporting to Zipkin.
155+
Use the `management.tracing.export.zipkin.*` configuration properties to configure reporting to Zipkin.
156156

157157

158158

module/spring-boot-zipkin/src/main/java/org/springframework/boot/zipkin/autoconfigure/ZipkinProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @author Moritz Halbritter
2727
* @since 4.0.0
2828
*/
29-
@ConfigurationProperties("management.zipkin.tracing")
29+
@ConfigurationProperties("management.tracing.export.zipkin")
3030
public class ZipkinProperties {
3131

3232
/**

module/spring-boot-zipkin/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,33 @@
11
{
22
"groups": [],
33
"properties": [
4+
{
5+
"name": "management.zipkin.tracing.connect-timeout",
6+
"deprecation": {
7+
"replacement": "management.tracing.export.zipkin.connect-timeout",
8+
"level": "error"
9+
}
10+
},
411
{
512
"name": "management.zipkin.tracing.encoding",
6-
"defaultValue": [
7-
"JSON"
8-
]
13+
"deprecation": {
14+
"replacement": "management.tracing.export.zipkin.encoding",
15+
"level": "error"
16+
}
17+
},
18+
{
19+
"name": "management.zipkin.tracing.endpoint",
20+
"deprecation": {
21+
"replacement": "management.tracing.export.zipkin.endpoint",
22+
"level": "error"
23+
}
24+
},
25+
{
26+
"name": "management.zipkin.tracing.read-timeout",
27+
"deprecation": {
28+
"replacement": "management.tracing.export.zipkin.read-timeout",
29+
"level": "error"
30+
}
931
}
1032
],
1133
"hints": []

0 commit comments

Comments
 (0)