Skip to content

Commit 76cdfe3

Browse files
authored
Review fixes for jaxws-jws-api-1.1:javaagent (#18057)
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
1 parent 9bb8895 commit 76cdfe3

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

instrumentation/jaxws/jaxws-jws-api-1.1/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/jaxws/jws/v1_1/JwsSingletons.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111

1212
public class JwsSingletons {
1313

14-
private static final Instrumenter<JaxWsRequest, Void> INSTANCE =
14+
private static final Instrumenter<JaxWsRequest, Void> instrumenter =
1515
JaxWsInstrumenterFactory.createInstrumenter("io.opentelemetry.jaxws-jws-api-1.1");
1616

1717
public static Instrumenter<JaxWsRequest, Void> instrumenter() {
18-
return INSTANCE;
18+
return instrumenter;
1919
}
2020

2121
private JwsSingletons() {}

instrumentation/jaxws/jaxws-jws-api-1.1/metadata.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ features:
88
- CONTROLLER_SPANS
99
configurations:
1010
- name: otel.instrumentation.common.experimental.controller-telemetry.enabled
11+
declarative_name: java.common.controller_telemetry/development.enabled
1112
description: Enables the creation of experimental controller spans.
1213
type: boolean
1314
default: false

0 commit comments

Comments
 (0)