|
7 | 7 |
|
8 | 8 | import io.opentelemetry.api.OpenTelemetry;
|
9 | 9 | import io.opentelemetry.api.trace.TracerProvider;
|
10 |
| -import io.opentelemetry.instrumentation.spring.autoconfigure.internal.OTelMapConverter; |
| 10 | +import io.opentelemetry.instrumentation.spring.autoconfigure.internal.OtelMapConverter; |
11 | 11 | import io.opentelemetry.instrumentation.spring.autoconfigure.internal.SdkEnabled;
|
12 | 12 | import io.opentelemetry.instrumentation.spring.autoconfigure.internal.properties.OtelResourceProperties;
|
13 | 13 | import io.opentelemetry.instrumentation.spring.autoconfigure.internal.properties.OtelSpringProperties;
|
@@ -64,9 +64,9 @@ static class OpenTelemetrySdkConfig {
|
64 | 64 |
|
65 | 65 | @Bean
|
66 | 66 | @ConfigurationPropertiesBinding
|
67 |
| - public OTelMapConverter oTelMapConverter() { |
| 67 | + public OtelMapConverter otelMapConverter() { |
68 | 68 | // needed for otlp exporter headers and OtelResourceProperties
|
69 |
| - return new OTelMapConverter(); |
| 69 | + return new OtelMapConverter(); |
70 | 70 | }
|
71 | 71 |
|
72 | 72 | @Bean
|
@@ -137,11 +137,11 @@ static class DisabledOpenTelemetrySdkConfig {
|
137 | 137 | @ConfigurationPropertiesBinding
|
138 | 138 | // Duplicated in OpenTelemetrySdkConfig and DisabledOpenTelemetrySdkConfig to not expose the
|
139 | 139 | // converter in the public API
|
140 |
| - public OTelMapConverter oTelMapConverter() { |
| 140 | + public OtelMapConverter otelMapConverter() { |
141 | 141 | // needed for otlp exporter headers and OtelResourceProperties
|
142 | 142 | // we need this converter, even if the SDK is disabled,
|
143 | 143 | // because the properties are parsed before the SDK is disabled
|
144 |
| - return new OTelMapConverter(); |
| 144 | + return new OtelMapConverter(); |
145 | 145 | }
|
146 | 146 |
|
147 | 147 | @Bean
|
|
0 commit comments