diff --git a/instrumentation/apache-httpclient/apache-httpclient-4.3/library/src/main/java/io/opentelemetry/instrumentation/apachehttpclient/v4_3/ApacheHttpClientTelemetryBuilder.java b/instrumentation/apache-httpclient/apache-httpclient-4.3/library/src/main/java/io/opentelemetry/instrumentation/apachehttpclient/v4_3/ApacheHttpClientTelemetryBuilder.java index 03c68850845c..0dc11a036052 100644 --- a/instrumentation/apache-httpclient/apache-httpclient-4.3/library/src/main/java/io/opentelemetry/instrumentation/apachehttpclient/v4_3/ApacheHttpClientTelemetryBuilder.java +++ b/instrumentation/apache-httpclient/apache-httpclient-4.3/library/src/main/java/io/opentelemetry/instrumentation/apachehttpclient/v4_3/ApacheHttpClientTelemetryBuilder.java @@ -24,7 +24,7 @@ public final class ApacheHttpClientTelemetryBuilder { private final OpenTelemetry openTelemetry; static { - Experimental.setSetEmitExperimentalTelemetry( + Experimental.internalSetEmitExperimentalTelemetry( (builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit)); } diff --git a/instrumentation/apache-httpclient/apache-httpclient-4.3/library/src/main/java/io/opentelemetry/instrumentation/apachehttpclient/v4_3/internal/Experimental.java b/instrumentation/apache-httpclient/apache-httpclient-4.3/library/src/main/java/io/opentelemetry/instrumentation/apachehttpclient/v4_3/internal/Experimental.java index 7a0016593f44..27e8536acd84 100644 --- a/instrumentation/apache-httpclient/apache-httpclient-4.3/library/src/main/java/io/opentelemetry/instrumentation/apachehttpclient/v4_3/internal/Experimental.java +++ b/instrumentation/apache-httpclient/apache-httpclient-4.3/library/src/main/java/io/opentelemetry/instrumentation/apachehttpclient/v4_3/internal/Experimental.java @@ -27,7 +27,7 @@ public static void setEmitExperimentalTelemetry( } } - public static void setSetEmitExperimentalTelemetry( + public static void internalSetEmitExperimentalTelemetry( BiConsumer<ApacheHttpClientTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) { Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry; } diff --git a/instrumentation/apache-httpclient/apache-httpclient-5.2/library/src/main/java/io/opentelemetry/instrumentation/apachehttpclient/v5_2/ApacheHttpClientTelemetryBuilder.java b/instrumentation/apache-httpclient/apache-httpclient-5.2/library/src/main/java/io/opentelemetry/instrumentation/apachehttpclient/v5_2/ApacheHttpClientTelemetryBuilder.java index e66486beec04..d200d6e31492 100644 --- a/instrumentation/apache-httpclient/apache-httpclient-5.2/library/src/main/java/io/opentelemetry/instrumentation/apachehttpclient/v5_2/ApacheHttpClientTelemetryBuilder.java +++ b/instrumentation/apache-httpclient/apache-httpclient-5.2/library/src/main/java/io/opentelemetry/instrumentation/apachehttpclient/v5_2/ApacheHttpClientTelemetryBuilder.java @@ -24,7 +24,7 @@ public final class ApacheHttpClientTelemetryBuilder { private final OpenTelemetry openTelemetry; static { - Experimental.setSetEmitExperimentalTelemetry( + Experimental.internalSetEmitExperimentalTelemetry( (builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit)); } diff --git a/instrumentation/apache-httpclient/apache-httpclient-5.2/library/src/main/java/io/opentelemetry/instrumentation/apachehttpclient/v5_2/internal/Experimental.java b/instrumentation/apache-httpclient/apache-httpclient-5.2/library/src/main/java/io/opentelemetry/instrumentation/apachehttpclient/v5_2/internal/Experimental.java index e219b4186b46..b9b1c3f5c846 100644 --- a/instrumentation/apache-httpclient/apache-httpclient-5.2/library/src/main/java/io/opentelemetry/instrumentation/apachehttpclient/v5_2/internal/Experimental.java +++ b/instrumentation/apache-httpclient/apache-httpclient-5.2/library/src/main/java/io/opentelemetry/instrumentation/apachehttpclient/v5_2/internal/Experimental.java @@ -27,7 +27,7 @@ public static void setEmitExperimentalTelemetry( } } - public static void setSetEmitExperimentalTelemetry( + public static void internalSetEmitExperimentalTelemetry( BiConsumer<ApacheHttpClientTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) { Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry; } diff --git a/instrumentation/armeria/armeria-1.3/library/src/main/java/io/opentelemetry/instrumentation/armeria/v1_3/ArmeriaClientTelemetryBuilder.java b/instrumentation/armeria/armeria-1.3/library/src/main/java/io/opentelemetry/instrumentation/armeria/v1_3/ArmeriaClientTelemetryBuilder.java index eaec86093bea..88a102c5740a 100644 --- a/instrumentation/armeria/armeria-1.3/library/src/main/java/io/opentelemetry/instrumentation/armeria/v1_3/ArmeriaClientTelemetryBuilder.java +++ b/instrumentation/armeria/armeria-1.3/library/src/main/java/io/opentelemetry/instrumentation/armeria/v1_3/ArmeriaClientTelemetryBuilder.java @@ -26,7 +26,7 @@ public final class ArmeriaClientTelemetryBuilder { static { ArmeriaInstrumenterBuilderUtil.setClientBuilderExtractor(builder -> builder.builder); - Experimental.setSetEmitExperimentalClientTelemetry( + Experimental.internalSetEmitExperimentalClientTelemetry( (builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit)); Experimental.setSetClientPeerService( (builder, peerService) -> builder.builder.setPeerService(peerService)); diff --git a/instrumentation/armeria/armeria-1.3/library/src/main/java/io/opentelemetry/instrumentation/armeria/v1_3/ArmeriaServerTelemetryBuilder.java b/instrumentation/armeria/armeria-1.3/library/src/main/java/io/opentelemetry/instrumentation/armeria/v1_3/ArmeriaServerTelemetryBuilder.java index 133f11815967..ab05c3ddc17c 100644 --- a/instrumentation/armeria/armeria-1.3/library/src/main/java/io/opentelemetry/instrumentation/armeria/v1_3/ArmeriaServerTelemetryBuilder.java +++ b/instrumentation/armeria/armeria-1.3/library/src/main/java/io/opentelemetry/instrumentation/armeria/v1_3/ArmeriaServerTelemetryBuilder.java @@ -26,7 +26,7 @@ public final class ArmeriaServerTelemetryBuilder { static { ArmeriaInstrumenterBuilderUtil.setServerBuilderExtractor(builder -> builder.builder); - Experimental.setSetEmitExperimentalServerTelemetry( + Experimental.internalSetEmitExperimentalServerTelemetry( (builder, emit) -> builder.builder.setEmitExperimentalHttpServerMetrics(emit)); } diff --git a/instrumentation/armeria/armeria-1.3/library/src/main/java/io/opentelemetry/instrumentation/armeria/v1_3/internal/Experimental.java b/instrumentation/armeria/armeria-1.3/library/src/main/java/io/opentelemetry/instrumentation/armeria/v1_3/internal/Experimental.java index ec3c65af7b86..c6f4bf8df35c 100644 --- a/instrumentation/armeria/armeria-1.3/library/src/main/java/io/opentelemetry/instrumentation/armeria/v1_3/internal/Experimental.java +++ b/instrumentation/armeria/armeria-1.3/library/src/main/java/io/opentelemetry/instrumentation/armeria/v1_3/internal/Experimental.java @@ -49,12 +49,12 @@ public static void setClientPeerService( } } - public static void setSetEmitExperimentalClientTelemetry( + public static void internalSetEmitExperimentalClientTelemetry( BiConsumer<ArmeriaClientTelemetryBuilder, Boolean> setEmitExperimentalClientTelemetry) { Experimental.setEmitExperimentalClientTelemetry = setEmitExperimentalClientTelemetry; } - public static void setSetEmitExperimentalServerTelemetry( + public static void internalSetEmitExperimentalServerTelemetry( BiConsumer<ArmeriaServerTelemetryBuilder, Boolean> setEmitExperimentalServerTelemetry) { Experimental.setEmitExperimentalServerTelemetry = setEmitExperimentalServerTelemetry; } diff --git a/instrumentation/java-http-client/library/src/main/java/io/opentelemetry/instrumentation/httpclient/JavaHttpClientTelemetryBuilder.java b/instrumentation/java-http-client/library/src/main/java/io/opentelemetry/instrumentation/httpclient/JavaHttpClientTelemetryBuilder.java index 56096edb7b3d..48ac08d29013 100644 --- a/instrumentation/java-http-client/library/src/main/java/io/opentelemetry/instrumentation/httpclient/JavaHttpClientTelemetryBuilder.java +++ b/instrumentation/java-http-client/library/src/main/java/io/opentelemetry/instrumentation/httpclient/JavaHttpClientTelemetryBuilder.java @@ -25,7 +25,7 @@ public final class JavaHttpClientTelemetryBuilder { private final OpenTelemetry openTelemetry; static { - Experimental.setSetEmitExperimentalTelemetry( + Experimental.internalSetEmitExperimentalTelemetry( (builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit)); } diff --git a/instrumentation/java-http-client/library/src/main/java/io/opentelemetry/instrumentation/httpclient/internal/Experimental.java b/instrumentation/java-http-client/library/src/main/java/io/opentelemetry/instrumentation/httpclient/internal/Experimental.java index 182b8d4c80e7..fc045ac50516 100644 --- a/instrumentation/java-http-client/library/src/main/java/io/opentelemetry/instrumentation/httpclient/internal/Experimental.java +++ b/instrumentation/java-http-client/library/src/main/java/io/opentelemetry/instrumentation/httpclient/internal/Experimental.java @@ -27,7 +27,7 @@ public static void setEmitExperimentalTelemetry( } } - public static void setSetEmitExperimentalTelemetry( + public static void internalSetEmitExperimentalTelemetry( BiConsumer<JavaHttpClientTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) { Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry; } diff --git a/instrumentation/jetty-httpclient/jetty-httpclient-12.0/library/src/main/java/io/opentelemetry/instrumentation/jetty/httpclient/v12_0/JettyClientTelemetryBuilder.java b/instrumentation/jetty-httpclient/jetty-httpclient-12.0/library/src/main/java/io/opentelemetry/instrumentation/jetty/httpclient/v12_0/JettyClientTelemetryBuilder.java index 6a7ab1cc20f4..1df9582ecade 100644 --- a/instrumentation/jetty-httpclient/jetty-httpclient-12.0/library/src/main/java/io/opentelemetry/instrumentation/jetty/httpclient/v12_0/JettyClientTelemetryBuilder.java +++ b/instrumentation/jetty-httpclient/jetty-httpclient-12.0/library/src/main/java/io/opentelemetry/instrumentation/jetty/httpclient/v12_0/JettyClientTelemetryBuilder.java @@ -27,7 +27,7 @@ public final class JettyClientTelemetryBuilder { private SslContextFactory.Client sslContextFactory; static { - Experimental.setSetEmitExperimentalTelemetry( + Experimental.internalSetEmitExperimentalTelemetry( (builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit)); } diff --git a/instrumentation/jetty-httpclient/jetty-httpclient-12.0/library/src/main/java/io/opentelemetry/instrumentation/jetty/httpclient/v12_0/internal/Experimental.java b/instrumentation/jetty-httpclient/jetty-httpclient-12.0/library/src/main/java/io/opentelemetry/instrumentation/jetty/httpclient/v12_0/internal/Experimental.java index fc5424f929bd..998472958b07 100644 --- a/instrumentation/jetty-httpclient/jetty-httpclient-12.0/library/src/main/java/io/opentelemetry/instrumentation/jetty/httpclient/v12_0/internal/Experimental.java +++ b/instrumentation/jetty-httpclient/jetty-httpclient-12.0/library/src/main/java/io/opentelemetry/instrumentation/jetty/httpclient/v12_0/internal/Experimental.java @@ -27,7 +27,7 @@ public static void setEmitExperimentalTelemetry( } } - public static void setSetEmitExperimentalTelemetry( + public static void internalSetEmitExperimentalTelemetry( BiConsumer<JettyClientTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) { Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry; } diff --git a/instrumentation/jetty-httpclient/jetty-httpclient-9.2/library/src/main/java/io/opentelemetry/instrumentation/jetty/httpclient/v9_2/JettyClientTelemetryBuilder.java b/instrumentation/jetty-httpclient/jetty-httpclient-9.2/library/src/main/java/io/opentelemetry/instrumentation/jetty/httpclient/v9_2/JettyClientTelemetryBuilder.java index 3f242b7fbb3c..438477a54835 100644 --- a/instrumentation/jetty-httpclient/jetty-httpclient-9.2/library/src/main/java/io/opentelemetry/instrumentation/jetty/httpclient/v9_2/JettyClientTelemetryBuilder.java +++ b/instrumentation/jetty-httpclient/jetty-httpclient-9.2/library/src/main/java/io/opentelemetry/instrumentation/jetty/httpclient/v9_2/JettyClientTelemetryBuilder.java @@ -28,7 +28,7 @@ public final class JettyClientTelemetryBuilder { private SslContextFactory sslContextFactory; static { - Experimental.setSetEmitExperimentalTelemetry( + Experimental.internalSetEmitExperimentalTelemetry( (builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit)); } diff --git a/instrumentation/jetty-httpclient/jetty-httpclient-9.2/library/src/main/java/io/opentelemetry/instrumentation/jetty/httpclient/v9_2/internal/Experimental.java b/instrumentation/jetty-httpclient/jetty-httpclient-9.2/library/src/main/java/io/opentelemetry/instrumentation/jetty/httpclient/v9_2/internal/Experimental.java index 86b0a5d97081..550228b3c230 100644 --- a/instrumentation/jetty-httpclient/jetty-httpclient-9.2/library/src/main/java/io/opentelemetry/instrumentation/jetty/httpclient/v9_2/internal/Experimental.java +++ b/instrumentation/jetty-httpclient/jetty-httpclient-9.2/library/src/main/java/io/opentelemetry/instrumentation/jetty/httpclient/v9_2/internal/Experimental.java @@ -27,7 +27,7 @@ public static void setEmitExperimentalTelemetry( } } - public static void setSetEmitExperimentalTelemetry( + public static void internalSetEmitExperimentalTelemetry( BiConsumer<JettyClientTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) { Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry; } diff --git a/instrumentation/netty/netty-4.1/library/src/main/java/io/opentelemetry/instrumentation/netty/v4_1/NettyClientTelemetryBuilder.java b/instrumentation/netty/netty-4.1/library/src/main/java/io/opentelemetry/instrumentation/netty/v4_1/NettyClientTelemetryBuilder.java index cae8789df16b..3f1669851214 100644 --- a/instrumentation/netty/netty-4.1/library/src/main/java/io/opentelemetry/instrumentation/netty/v4_1/NettyClientTelemetryBuilder.java +++ b/instrumentation/netty/netty-4.1/library/src/main/java/io/opentelemetry/instrumentation/netty/v4_1/NettyClientTelemetryBuilder.java @@ -27,7 +27,7 @@ public final class NettyClientTelemetryBuilder { private boolean emitExperimentalHttpClientEvents = false; static { - Experimental.setSetEmitExperimentalClientTelemetry( + Experimental.internalSetEmitExperimentalClientTelemetry( (builder, emit) -> { builder.builder.setEmitExperimentalHttpClientMetrics(emit); builder.emitExperimentalHttpClientEvents = emit; diff --git a/instrumentation/netty/netty-4.1/library/src/main/java/io/opentelemetry/instrumentation/netty/v4_1/NettyServerTelemetryBuilder.java b/instrumentation/netty/netty-4.1/library/src/main/java/io/opentelemetry/instrumentation/netty/v4_1/NettyServerTelemetryBuilder.java index 92233db0fac6..1867413cbbef 100644 --- a/instrumentation/netty/netty-4.1/library/src/main/java/io/opentelemetry/instrumentation/netty/v4_1/NettyServerTelemetryBuilder.java +++ b/instrumentation/netty/netty-4.1/library/src/main/java/io/opentelemetry/instrumentation/netty/v4_1/NettyServerTelemetryBuilder.java @@ -28,7 +28,7 @@ public final class NettyServerTelemetryBuilder { static { NettyServerInstrumenterBuilderUtil.setBuilderExtractor( nettyServerTelemetryBuilder -> nettyServerTelemetryBuilder.builder); - Experimental.setSetEmitExperimentalServerTelemetry( + Experimental.internalSetEmitExperimentalServerTelemetry( (builder, emit) -> { builder.builder.setEmitExperimentalHttpServerMetrics(emit); builder.emitExperimentalHttpServerEvents = emit; diff --git a/instrumentation/netty/netty-4.1/library/src/main/java/io/opentelemetry/instrumentation/netty/v4_1/internal/Experimental.java b/instrumentation/netty/netty-4.1/library/src/main/java/io/opentelemetry/instrumentation/netty/v4_1/internal/Experimental.java index d6b2c6c39207..0dfb01a874b9 100644 --- a/instrumentation/netty/netty-4.1/library/src/main/java/io/opentelemetry/instrumentation/netty/v4_1/internal/Experimental.java +++ b/instrumentation/netty/netty-4.1/library/src/main/java/io/opentelemetry/instrumentation/netty/v4_1/internal/Experimental.java @@ -39,12 +39,12 @@ public static void setEmitExperimentalTelemetry( } } - public static void setSetEmitExperimentalClientTelemetry( + public static void internalSetEmitExperimentalClientTelemetry( BiConsumer<NettyClientTelemetryBuilder, Boolean> setEmitExperimentalClientTelemetry) { Experimental.setEmitExperimentalClientTelemetry = setEmitExperimentalClientTelemetry; } - public static void setSetEmitExperimentalServerTelemetry( + public static void internalSetEmitExperimentalServerTelemetry( BiConsumer<NettyServerTelemetryBuilder, Boolean> setEmitExperimentalServerTelemetry) { Experimental.setEmitExperimentalServerTelemetry = setEmitExperimentalServerTelemetry; } diff --git a/instrumentation/okhttp/okhttp-3.0/library/src/main/java/io/opentelemetry/instrumentation/okhttp/v3_0/OkHttpTelemetryBuilder.java b/instrumentation/okhttp/okhttp-3.0/library/src/main/java/io/opentelemetry/instrumentation/okhttp/v3_0/OkHttpTelemetryBuilder.java index 8e830da41473..203e93b46573 100644 --- a/instrumentation/okhttp/okhttp-3.0/library/src/main/java/io/opentelemetry/instrumentation/okhttp/v3_0/OkHttpTelemetryBuilder.java +++ b/instrumentation/okhttp/okhttp-3.0/library/src/main/java/io/opentelemetry/instrumentation/okhttp/v3_0/OkHttpTelemetryBuilder.java @@ -25,7 +25,7 @@ public final class OkHttpTelemetryBuilder { private final OpenTelemetry openTelemetry; static { - Experimental.setSetEmitExperimentalTelemetry( + Experimental.internalSetEmitExperimentalTelemetry( (builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit)); } diff --git a/instrumentation/okhttp/okhttp-3.0/library/src/main/java/io/opentelemetry/instrumentation/okhttp/v3_0/internal/Experimental.java b/instrumentation/okhttp/okhttp-3.0/library/src/main/java/io/opentelemetry/instrumentation/okhttp/v3_0/internal/Experimental.java index 6762b56ec112..1c92c49f8816 100644 --- a/instrumentation/okhttp/okhttp-3.0/library/src/main/java/io/opentelemetry/instrumentation/okhttp/v3_0/internal/Experimental.java +++ b/instrumentation/okhttp/okhttp-3.0/library/src/main/java/io/opentelemetry/instrumentation/okhttp/v3_0/internal/Experimental.java @@ -26,7 +26,7 @@ public static void setEmitExperimentalTelemetry( } } - public static void setSetEmitExperimentalTelemetry( + public static void internalSetEmitExperimentalTelemetry( BiConsumer<OkHttpTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) { Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry; } diff --git a/instrumentation/ratpack/ratpack-1.7/library/src/main/java/io/opentelemetry/instrumentation/ratpack/v1_7/RatpackClientTelemetryBuilder.java b/instrumentation/ratpack/ratpack-1.7/library/src/main/java/io/opentelemetry/instrumentation/ratpack/v1_7/RatpackClientTelemetryBuilder.java index b1e0ddf1db5c..968fb24cd270 100644 --- a/instrumentation/ratpack/ratpack-1.7/library/src/main/java/io/opentelemetry/instrumentation/ratpack/v1_7/RatpackClientTelemetryBuilder.java +++ b/instrumentation/ratpack/ratpack-1.7/library/src/main/java/io/opentelemetry/instrumentation/ratpack/v1_7/RatpackClientTelemetryBuilder.java @@ -26,7 +26,7 @@ public final class RatpackClientTelemetryBuilder { private final DefaultHttpClientInstrumenterBuilder<RequestSpec, HttpResponse> builder; static { - Experimental.setSetEmitExperimentalClientTelemetry( + Experimental.internalSetEmitExperimentalClientTelemetry( (builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit)); } diff --git a/instrumentation/ratpack/ratpack-1.7/library/src/main/java/io/opentelemetry/instrumentation/ratpack/v1_7/RatpackServerTelemetryBuilder.java b/instrumentation/ratpack/ratpack-1.7/library/src/main/java/io/opentelemetry/instrumentation/ratpack/v1_7/RatpackServerTelemetryBuilder.java index 07da8e9959b3..d04c33741ece 100644 --- a/instrumentation/ratpack/ratpack-1.7/library/src/main/java/io/opentelemetry/instrumentation/ratpack/v1_7/RatpackServerTelemetryBuilder.java +++ b/instrumentation/ratpack/ratpack-1.7/library/src/main/java/io/opentelemetry/instrumentation/ratpack/v1_7/RatpackServerTelemetryBuilder.java @@ -26,7 +26,7 @@ public final class RatpackServerTelemetryBuilder { private final DefaultHttpServerInstrumenterBuilder<Request, Response> builder; static { - Experimental.setSetEmitExperimentalServerTelemetry( + Experimental.internalSetEmitExperimentalServerTelemetry( (builder, emit) -> builder.builder.setEmitExperimentalHttpServerMetrics(emit)); } diff --git a/instrumentation/ratpack/ratpack-1.7/library/src/main/java/io/opentelemetry/instrumentation/ratpack/v1_7/internal/Experimental.java b/instrumentation/ratpack/ratpack-1.7/library/src/main/java/io/opentelemetry/instrumentation/ratpack/v1_7/internal/Experimental.java index acddd6cd710c..9977507c046e 100644 --- a/instrumentation/ratpack/ratpack-1.7/library/src/main/java/io/opentelemetry/instrumentation/ratpack/v1_7/internal/Experimental.java +++ b/instrumentation/ratpack/ratpack-1.7/library/src/main/java/io/opentelemetry/instrumentation/ratpack/v1_7/internal/Experimental.java @@ -39,12 +39,12 @@ public static void setEmitExperimentalTelemetry( } } - public static void setSetEmitExperimentalClientTelemetry( + public static void internalSetEmitExperimentalClientTelemetry( BiConsumer<RatpackClientTelemetryBuilder, Boolean> setEmitExperimentalClientTelemetry) { Experimental.setEmitExperimentalClientTelemetry = setEmitExperimentalClientTelemetry; } - public static void setSetEmitExperimentalServerTelemetry( + public static void internalSetEmitExperimentalServerTelemetry( BiConsumer<RatpackServerTelemetryBuilder, Boolean> setEmitExperimentalServerTelemetry) { Experimental.setEmitExperimentalServerTelemetry = setEmitExperimentalServerTelemetry; } diff --git a/instrumentation/restlet/restlet-1.1/library/src/main/java/io/opentelemetry/instrumentation/restlet/v1_1/RestletTelemetryBuilder.java b/instrumentation/restlet/restlet-1.1/library/src/main/java/io/opentelemetry/instrumentation/restlet/v1_1/RestletTelemetryBuilder.java index b45c063a9a5e..b756c0069950 100644 --- a/instrumentation/restlet/restlet-1.1/library/src/main/java/io/opentelemetry/instrumentation/restlet/v1_1/RestletTelemetryBuilder.java +++ b/instrumentation/restlet/restlet-1.1/library/src/main/java/io/opentelemetry/instrumentation/restlet/v1_1/RestletTelemetryBuilder.java @@ -24,7 +24,7 @@ public final class RestletTelemetryBuilder { private final DefaultHttpServerInstrumenterBuilder<Request, Response> builder; static { - Experimental.setSetEmitExperimentalTelemetry( + Experimental.internalSetEmitExperimentalTelemetry( (builder, emit) -> builder.builder.setEmitExperimentalHttpServerMetrics(emit)); } diff --git a/instrumentation/restlet/restlet-1.1/library/src/main/java/io/opentelemetry/instrumentation/restlet/v1_1/internal/Experimental.java b/instrumentation/restlet/restlet-1.1/library/src/main/java/io/opentelemetry/instrumentation/restlet/v1_1/internal/Experimental.java index da576c6df9b5..c677912b7b3c 100644 --- a/instrumentation/restlet/restlet-1.1/library/src/main/java/io/opentelemetry/instrumentation/restlet/v1_1/internal/Experimental.java +++ b/instrumentation/restlet/restlet-1.1/library/src/main/java/io/opentelemetry/instrumentation/restlet/v1_1/internal/Experimental.java @@ -26,7 +26,7 @@ public static void setEmitExperimentalTelemetry( } } - public static void setSetEmitExperimentalTelemetry( + public static void internalSetEmitExperimentalTelemetry( BiConsumer<RestletTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) { Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry; } diff --git a/instrumentation/restlet/restlet-2.0/library/src/main/java/io/opentelemetry/instrumentation/restlet/v2_0/RestletTelemetryBuilder.java b/instrumentation/restlet/restlet-2.0/library/src/main/java/io/opentelemetry/instrumentation/restlet/v2_0/RestletTelemetryBuilder.java index ed7f134a0b76..84fa3d5752b0 100644 --- a/instrumentation/restlet/restlet-2.0/library/src/main/java/io/opentelemetry/instrumentation/restlet/v2_0/RestletTelemetryBuilder.java +++ b/instrumentation/restlet/restlet-2.0/library/src/main/java/io/opentelemetry/instrumentation/restlet/v2_0/RestletTelemetryBuilder.java @@ -24,7 +24,7 @@ public final class RestletTelemetryBuilder { private final DefaultHttpServerInstrumenterBuilder<Request, Response> builder; static { - Experimental.setSetEmitExperimentalTelemetry( + Experimental.internalSetEmitExperimentalTelemetry( (builder, emit) -> builder.builder.setEmitExperimentalHttpServerMetrics(emit)); } diff --git a/instrumentation/restlet/restlet-2.0/library/src/main/java/io/opentelemetry/instrumentation/restlet/v2_0/internal/Experimental.java b/instrumentation/restlet/restlet-2.0/library/src/main/java/io/opentelemetry/instrumentation/restlet/v2_0/internal/Experimental.java index 36a1e95b7e78..4cafb36f25ab 100644 --- a/instrumentation/restlet/restlet-2.0/library/src/main/java/io/opentelemetry/instrumentation/restlet/v2_0/internal/Experimental.java +++ b/instrumentation/restlet/restlet-2.0/library/src/main/java/io/opentelemetry/instrumentation/restlet/v2_0/internal/Experimental.java @@ -26,7 +26,7 @@ public static void setEmitExperimentalTelemetry( } } - public static void setSetEmitExperimentalTelemetry( + public static void internalSetEmitExperimentalTelemetry( BiConsumer<RestletTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) { Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry; } diff --git a/instrumentation/spring/spring-web/spring-web-3.1/library/src/main/java/io/opentelemetry/instrumentation/spring/web/v3_1/SpringWebTelemetryBuilder.java b/instrumentation/spring/spring-web/spring-web-3.1/library/src/main/java/io/opentelemetry/instrumentation/spring/web/v3_1/SpringWebTelemetryBuilder.java index 1b34f2bad280..bba444061e51 100644 --- a/instrumentation/spring/spring-web/spring-web-3.1/library/src/main/java/io/opentelemetry/instrumentation/spring/web/v3_1/SpringWebTelemetryBuilder.java +++ b/instrumentation/spring/spring-web/spring-web-3.1/library/src/main/java/io/opentelemetry/instrumentation/spring/web/v3_1/SpringWebTelemetryBuilder.java @@ -25,7 +25,7 @@ public final class SpringWebTelemetryBuilder { static { WebTelemetryUtil.setBuilderExtractor(SpringWebTelemetryBuilder::getBuilder); - Experimental.setSetEmitExperimentalTelemetry( + Experimental.internalSetEmitExperimentalTelemetry( (builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit)); } diff --git a/instrumentation/spring/spring-web/spring-web-3.1/library/src/main/java/io/opentelemetry/instrumentation/spring/web/v3_1/internal/Experimental.java b/instrumentation/spring/spring-web/spring-web-3.1/library/src/main/java/io/opentelemetry/instrumentation/spring/web/v3_1/internal/Experimental.java index a336b1011e28..e327adbf85d7 100644 --- a/instrumentation/spring/spring-web/spring-web-3.1/library/src/main/java/io/opentelemetry/instrumentation/spring/web/v3_1/internal/Experimental.java +++ b/instrumentation/spring/spring-web/spring-web-3.1/library/src/main/java/io/opentelemetry/instrumentation/spring/web/v3_1/internal/Experimental.java @@ -27,7 +27,7 @@ public static void setEmitExperimentalTelemetry( } } - public static void setSetEmitExperimentalTelemetry( + public static void internalSetEmitExperimentalTelemetry( BiConsumer<SpringWebTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) { Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry; } diff --git a/instrumentation/spring/spring-webflux/spring-webflux-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webflux/v5_3/SpringWebfluxClientTelemetryBuilder.java b/instrumentation/spring/spring-webflux/spring-webflux-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webflux/v5_3/SpringWebfluxClientTelemetryBuilder.java index 7535fbe62466..feb2eaaab26c 100644 --- a/instrumentation/spring/spring-webflux/spring-webflux-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webflux/v5_3/SpringWebfluxClientTelemetryBuilder.java +++ b/instrumentation/spring/spring-webflux/spring-webflux-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webflux/v5_3/SpringWebfluxClientTelemetryBuilder.java @@ -28,7 +28,7 @@ public final class SpringWebfluxClientTelemetryBuilder { static { SpringWebfluxBuilderUtil.setClientBuilderExtractor(builder -> builder.builder); - Experimental.setSetEmitExperimentalClientTelemetry( + Experimental.internalSetEmitExperimentalClientTelemetry( (builder, emit) -> builder.builder.setEmitExperimentalHttpClientMetrics(emit)); } diff --git a/instrumentation/spring/spring-webflux/spring-webflux-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webflux/v5_3/SpringWebfluxServerTelemetryBuilder.java b/instrumentation/spring/spring-webflux/spring-webflux-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webflux/v5_3/SpringWebfluxServerTelemetryBuilder.java index 4142b7a3a9e9..bf584bf20ce5 100644 --- a/instrumentation/spring/spring-webflux/spring-webflux-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webflux/v5_3/SpringWebfluxServerTelemetryBuilder.java +++ b/instrumentation/spring/spring-webflux/spring-webflux-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webflux/v5_3/SpringWebfluxServerTelemetryBuilder.java @@ -25,7 +25,7 @@ public final class SpringWebfluxServerTelemetryBuilder { static { SpringWebfluxBuilderUtil.setServerBuilderExtractor(builder -> builder.builder); - Experimental.setSetEmitExperimentalServerTelemetry( + Experimental.internalSetEmitExperimentalServerTelemetry( (builder, emit) -> builder.builder.setEmitExperimentalHttpServerMetrics(emit)); } diff --git a/instrumentation/spring/spring-webflux/spring-webflux-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webflux/v5_3/internal/Experimental.java b/instrumentation/spring/spring-webflux/spring-webflux-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webflux/v5_3/internal/Experimental.java index d20a6da4251f..82b994363e3e 100644 --- a/instrumentation/spring/spring-webflux/spring-webflux-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webflux/v5_3/internal/Experimental.java +++ b/instrumentation/spring/spring-webflux/spring-webflux-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webflux/v5_3/internal/Experimental.java @@ -39,12 +39,12 @@ public static void setEmitExperimentalTelemetry( } } - public static void setSetEmitExperimentalClientTelemetry( + public static void internalSetEmitExperimentalClientTelemetry( BiConsumer<SpringWebfluxClientTelemetryBuilder, Boolean> setEmitExperimentalClientTelemetry) { Experimental.setEmitExperimentalClientTelemetry = setEmitExperimentalClientTelemetry; } - public static void setSetEmitExperimentalServerTelemetry( + public static void internalSetEmitExperimentalServerTelemetry( BiConsumer<SpringWebfluxServerTelemetryBuilder, Boolean> setEmitExperimentalServerTelemetry) { Experimental.setEmitExperimentalServerTelemetry = setEmitExperimentalServerTelemetry; } diff --git a/instrumentation/spring/spring-webmvc/spring-webmvc-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v5_3/SpringWebMvcTelemetryBuilder.java b/instrumentation/spring/spring-webmvc/spring-webmvc-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v5_3/SpringWebMvcTelemetryBuilder.java index 9980ac7be7fc..9da8a865b44c 100644 --- a/instrumentation/spring/spring-webmvc/spring-webmvc-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v5_3/SpringWebMvcTelemetryBuilder.java +++ b/instrumentation/spring/spring-webmvc/spring-webmvc-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v5_3/SpringWebMvcTelemetryBuilder.java @@ -28,7 +28,7 @@ public final class SpringWebMvcTelemetryBuilder { static { SpringMvcBuilderUtil.setBuilderExtractor(builder -> builder.builder); - Experimental.setSetEmitExperimentalTelemetry( + Experimental.internalSetEmitExperimentalTelemetry( (builder, emit) -> builder.builder.setEmitExperimentalHttpServerMetrics(emit)); } diff --git a/instrumentation/spring/spring-webmvc/spring-webmvc-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v5_3/internal/Experimental.java b/instrumentation/spring/spring-webmvc/spring-webmvc-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v5_3/internal/Experimental.java index 89852cf60065..94cb0e5adf6c 100644 --- a/instrumentation/spring/spring-webmvc/spring-webmvc-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v5_3/internal/Experimental.java +++ b/instrumentation/spring/spring-webmvc/spring-webmvc-5.3/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v5_3/internal/Experimental.java @@ -27,7 +27,7 @@ public static void setEmitExperimentalTelemetry( } } - public static void setSetEmitExperimentalTelemetry( + public static void internalSetEmitExperimentalTelemetry( BiConsumer<SpringWebMvcTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) { Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry; } diff --git a/instrumentation/spring/spring-webmvc/spring-webmvc-6.0/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v6_0/SpringWebMvcTelemetryBuilder.java b/instrumentation/spring/spring-webmvc/spring-webmvc-6.0/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v6_0/SpringWebMvcTelemetryBuilder.java index f7d6a030d6c6..d902058a6579 100644 --- a/instrumentation/spring/spring-webmvc/spring-webmvc-6.0/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v6_0/SpringWebMvcTelemetryBuilder.java +++ b/instrumentation/spring/spring-webmvc/spring-webmvc-6.0/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v6_0/SpringWebMvcTelemetryBuilder.java @@ -27,7 +27,7 @@ public final class SpringWebMvcTelemetryBuilder { static { SpringMvcBuilderUtil.setBuilderExtractor(builder -> builder.builder); - Experimental.setSetEmitExperimentalTelemetry( + Experimental.internalSetEmitExperimentalTelemetry( (builder, emit) -> builder.builder.setEmitExperimentalHttpServerMetrics(emit)); } diff --git a/instrumentation/spring/spring-webmvc/spring-webmvc-6.0/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v6_0/internal/Experimental.java b/instrumentation/spring/spring-webmvc/spring-webmvc-6.0/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v6_0/internal/Experimental.java index 6c580539634c..80ccf5493b8a 100644 --- a/instrumentation/spring/spring-webmvc/spring-webmvc-6.0/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v6_0/internal/Experimental.java +++ b/instrumentation/spring/spring-webmvc/spring-webmvc-6.0/library/src/main/java/io/opentelemetry/instrumentation/spring/webmvc/v6_0/internal/Experimental.java @@ -27,7 +27,7 @@ public static void setEmitExperimentalTelemetry( } } - public static void setSetEmitExperimentalTelemetry( + public static void internalSetEmitExperimentalTelemetry( BiConsumer<SpringWebMvcTelemetryBuilder, Boolean> setEmitExperimentalTelemetry) { Experimental.setEmitExperimentalTelemetry = setEmitExperimentalTelemetry; }