Remove unused configuration class (#14300)
This commit is contained in:
parent
3cd0aa69fc
commit
0af85f0433
|
|
@ -62,8 +62,6 @@ dependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType<Test>().configureEach {
|
tasks.withType<Test>().configureEach {
|
||||||
// TODO run tests both with and without experimental span attributes
|
|
||||||
jvmArgs("-Dotel.instrumentation.spring-webflux.experimental-span-attributes=true")
|
|
||||||
// required on jdk17
|
// required on jdk17
|
||||||
jvmArgs("--add-opens=java.base/java.lang=ALL-UNNAMED")
|
jvmArgs("--add-opens=java.base/java.lang=ALL-UNNAMED")
|
||||||
jvmArgs("-XX:+IgnoreUnrecognizedVMOptions")
|
jvmArgs("-XX:+IgnoreUnrecognizedVMOptions")
|
||||||
|
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright The OpenTelemetry Authors
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
package io.opentelemetry.javaagent.instrumentation.spring.webflux.v5_0;
|
|
||||||
|
|
||||||
import io.opentelemetry.javaagent.bootstrap.internal.AgentInstrumentationConfig;
|
|
||||||
|
|
||||||
public final class SpringWebfluxConfig {
|
|
||||||
|
|
||||||
private static final boolean CAPTURE_EXPERIMENTAL_SPAN_ATTRIBUTES =
|
|
||||||
AgentInstrumentationConfig.get()
|
|
||||||
.getBoolean("otel.instrumentation.spring-webflux.experimental-span-attributes", false);
|
|
||||||
|
|
||||||
public static boolean captureExperimentalSpanAttributes() {
|
|
||||||
return CAPTURE_EXPERIMENTAL_SPAN_ATTRIBUTES;
|
|
||||||
}
|
|
||||||
|
|
||||||
private SpringWebfluxConfig() {}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue