From 041baff8af1593f6e0e9d6904f2e0ab3e5337a73 Mon Sep 17 00:00:00 2001 From: brunobat Date: Mon, 6 Nov 2023 11:49:37 +0000 Subject: [PATCH] Fix native mode --- .../exporter/gcp/deployment/GcpExporterProcessor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quarkus-opentelemetry-exporter-gcp/deployment/src/main/java/io/quarkiverse/opentelemetry/exporter/gcp/deployment/GcpExporterProcessor.java b/quarkus-opentelemetry-exporter-gcp/deployment/src/main/java/io/quarkiverse/opentelemetry/exporter/gcp/deployment/GcpExporterProcessor.java index 8073bf3..0b5053e 100644 --- a/quarkus-opentelemetry-exporter-gcp/deployment/src/main/java/io/quarkiverse/opentelemetry/exporter/gcp/deployment/GcpExporterProcessor.java +++ b/quarkus-opentelemetry-exporter-gcp/deployment/src/main/java/io/quarkiverse/opentelemetry/exporter/gcp/deployment/GcpExporterProcessor.java @@ -47,8 +47,8 @@ void registerExternalExporter(BuildProducer build NativeImageConfigBuildItem nativeImageConfiguration() { NativeImageConfigBuildItem.Builder builder = NativeImageConfigBuildItem.builder() .addRuntimeReinitializedClass("com.google.protobuf.UnsafeUtil") - .addRuntimeInitializedClass("io.grpc.netty.shaded.io.grpc.netty.UdsNameResolverProvider") -// .addRuntimeReinitializedClass("io.grpc.netty.shaded.io.grpc.netty.UdsNameResolverProvider"); + .addRuntimeInitializedClass("io.grpc.netty.shaded.io.grpc.netty.UdsNameResolverProvider"); + // .addRuntimeReinitializedClass("io.grpc.netty.shaded.io.grpc.netty.UdsNameResolverProvider"); return builder.build(); }