Skip to content

Commit d9a0d71

Browse files
committed
make order deterministic
1 parent 4a36432 commit d9a0d71

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

instrumentation/spring/spring-boot-autoconfigure/src/main/java/io/opentelemetry/instrumentation/spring/autoconfigure/OpenTelemetryAutoConfiguration.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ OtelMapConverter otelMapConverter() {
7373

7474
@Configuration
7575
@Conditional(SdkEnabled.class)
76+
@DependsOn("otelMapConverter")
7677
@ConditionalOnMissingBean(OpenTelemetry.class)
7778
static class OpenTelemetrySdkConfig {
7879

@@ -136,6 +137,7 @@ public ConfigProperties otelProperties(
136137
}
137138

138139
@Configuration
140+
@DependsOn("otelMapConverter")
139141
@ConditionalOnMissingBean(OpenTelemetry.class)
140142
@ConditionalOnProperty(name = "otel.sdk.disabled", havingValue = "true")
141143
static class DisabledOpenTelemetrySdkConfig {

0 commit comments

Comments
 (0)