Skip to content

Commit c61393e

Browse files
committed
split common-enabled translation until sorted out
1 parent 413ec6d commit c61393e

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

javaagent-extension-api/src/test/java/io/opentelemetry/javaagent/extension/internal/DeclarativeConfigPropertiesBridgeTest.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -128,18 +128,6 @@ void vendorTranslation() {
128128
assertThat(propertiesBridge.getBoolean("acme.preserved")).isTrue();
129129
}
130130

131-
@Test
132-
void agentCommonTranslation() {
133-
assertThat(
134-
create(
135-
new DeclarativeConfigPropertiesBridgeBuilder()
136-
.addMapping(
137-
"otel.instrumentation.common.default-enabled",
138-
"common.default.enabled"))
139-
.getBoolean("otel.instrumentation.common.default-enabled"))
140-
.isFalse();
141-
}
142-
143131
@Test
144132
void agentTranslation() {
145133
ConfigProperties bridge =

javaagent-extension-api/src/test/resources/config.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ instrumentation/development:
77
agent:
88
experimental:
99
indy: true
10-
common:
11-
default:
12-
enabled: false
1310
runtime_telemetry:
1411
enabled: false
1512
example_instrumentation:

javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/OpenTelemetryInstaller.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ public static AutoConfiguredOpenTelemetrySdk installOpenTelemetrySdk(
4545
sdk,
4646
SdkAutoconfigureAccess.getResource(autoConfiguredSdk),
4747
new DeclarativeConfigPropertiesBridgeBuilder()
48-
.addMapping("otel.instrumentation.common.default-enabled", "common.default.enabled")
4948
.addMapping("otel.javaagent", "agent")
5049
// these properties are used to initialize the SDK before the configuration file
5150
// is loaded for consistency, we pass them to the bridge, so that they can be read

0 commit comments

Comments
 (0)