GoogleCloudPlatform / opentelemetry-operations-java

Apache License 2.0
73 stars 38 forks source link

Missing dependencies in exporter-auto #261

Open dgeyer opened 1 year ago

dgeyer commented 1 year ago

I am using the shaded exporter-auto: com.google.cloud.opentelemetry.exporter-auto-0.25.2-alpha-shaded.jar With the VM params:

      "-Dotel.javaagent.debug=true",
      "-Dotel.traces.exporter=google_cloud_trace",
      "-Dotel.metrics.exporter=none",
      "-Dotel.service.name=my-service-name",
      "-Dotel.javaagent.extensions=<path>/lib/com.google.cloud.opentelemetry.exporter-auto-0.25.2-alpha-shaded.jar"

And the Env varibles: GOOGLE_APPLICATION_CREDENTIALS and GOOGLE_CLOUD_PROJECT.

When running the application the oTel debugging shows several ClassNotFoundException

[otel.javaagent 2023-08-24 09:32:16:520 +0100] [Thread-0] DEBUG shadow.io.grpc.ManagedChannelRegistry - Unable to find OkHttpChannelProvider
java.lang.ClassNotFoundException: shadow.io.grpc.okhttp.OkHttpChannelProvider
    at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:375)
    at shadow.io.grpc.ManagedChannelRegistry.getHardCodedClasses(ManagedChannelRegistry.java:137)
    at shadow.io.grpc.ManagedChannelRegistry.getDefaultRegistry(ManagedChannelRegistry.java:103)
    at shadow.io.grpc.ManagedChannelProvider.provider(ManagedChannelProvider.java:43)
    at shadow.io.grpc.ManagedChannelBuilder.forAddress(ManagedChannelBuilder.java:39)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createSingleChannel(InstantiatingGrpcChannelProvider.java:351)
    at shadow.com.google.api.gax.grpc.ChannelPool.<init>(ChannelPool.java:107)
    at shadow.com.google.api.gax.grpc.ChannelPool.create(ChannelPool.java:85)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createChannel(InstantiatingGrpcChannelProvider.java:236)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.getTransportChannel(InstantiatingGrpcChannelProvider.java:230)
    at shadow.com.google.api.gax.rpc.ClientContext.create(ClientContext.java:201)
    at shadow.com.google.cloud.trace.v2.stub.GrpcTraceServiceStub.create(GrpcTraceServiceStub.java:71)
    at shadow.com.google.cloud.trace.v2.stub.TraceServiceStubSettings.createStub(TraceServiceStubSettings.java:112)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.<init>(TraceServiceClient.java:160)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.create(TraceServiceClient.java:142)
    at shadow.com.google.cloud.opentelemetry.trace.InternalTraceExporter.createWithConfiguration(InternalTraceExporter.java:103)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.lambda$new$0(TraceExporter.java:41)
    at shadow.com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.get(Suppliers.java:183)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.shutdown(TraceExporter.java:98)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.lambda$shutdown$3(BatchSpanProcessor.java:294)
    at io.opentelemetry.sdk.common.CompletableResultCode.whenComplete(CompletableResultCode.java:133)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.shutdown(BatchSpanProcessor.java:291)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.access$200(BatchSpanProcessor.java:149)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor.shutdown(BatchSpanProcessor.java:115)
    at io.opentelemetry.sdk.trace.MultiSpanProcessor.shutdown(MultiSpanProcessor.java:68)
    at io.opentelemetry.sdk.trace.TracerSharedState.shutdown(TracerSharedState.java:103)
    at io.opentelemetry.sdk.trace.SdkTracerProvider.shutdown(SdkTracerProvider.java:107)
    at io.opentelemetry.sdk.OpenTelemetrySdk.shutdown(OpenTelemetrySdk.java:111)
    at io.opentelemetry.sdk.OpenTelemetrySdk.close(OpenTelemetrySdk.java:119)
    at java.base/java.lang.Thread.run(Thread.java:833)
[otel.javaagent 2023-08-24 09:32:16:522 +0100] [Thread-0] DEBUG shadow.io.grpc.ManagedChannelRegistry - Unable to find NettyChannelProvider
java.lang.ClassNotFoundException: shadow.io.grpc.netty.NettyChannelProvider
    at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:375)
    at shadow.io.grpc.ManagedChannelRegistry.getHardCodedClasses(ManagedChannelRegistry.java:142)
    at shadow.io.grpc.ManagedChannelRegistry.getDefaultRegistry(ManagedChannelRegistry.java:103)
    at shadow.io.grpc.ManagedChannelProvider.provider(ManagedChannelProvider.java:43)
    at shadow.io.grpc.ManagedChannelBuilder.forAddress(ManagedChannelBuilder.java:39)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createSingleChannel(InstantiatingGrpcChannelProvider.java:351)
    at shadow.com.google.api.gax.grpc.ChannelPool.<init>(ChannelPool.java:107)
    at shadow.com.google.api.gax.grpc.ChannelPool.create(ChannelPool.java:85)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createChannel(InstantiatingGrpcChannelProvider.java:236)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.getTransportChannel(InstantiatingGrpcChannelProvider.java:230)
    at shadow.com.google.api.gax.rpc.ClientContext.create(ClientContext.java:201)
    at shadow.com.google.cloud.trace.v2.stub.GrpcTraceServiceStub.create(GrpcTraceServiceStub.java:71)
    at shadow.com.google.cloud.trace.v2.stub.TraceServiceStubSettings.createStub(TraceServiceStubSettings.java:112)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.<init>(TraceServiceClient.java:160)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.create(TraceServiceClient.java:142)
    at shadow.com.google.cloud.opentelemetry.trace.InternalTraceExporter.createWithConfiguration(InternalTraceExporter.java:103)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.lambda$new$0(TraceExporter.java:41)
    at shadow.com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.get(Suppliers.java:183)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.shutdown(TraceExporter.java:98)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.lambda$shutdown$3(BatchSpanProcessor.java:294)
    at io.opentelemetry.sdk.common.CompletableResultCode.whenComplete(CompletableResultCode.java:133)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.shutdown(BatchSpanProcessor.java:291)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.access$200(BatchSpanProcessor.java:149)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor.shutdown(BatchSpanProcessor.java:115)
    at io.opentelemetry.sdk.trace.MultiSpanProcessor.shutdown(MultiSpanProcessor.java:68)
    at io.opentelemetry.sdk.trace.TracerSharedState.shutdown(TracerSharedState.java:103)
    at io.opentelemetry.sdk.trace.SdkTracerProvider.shutdown(SdkTracerProvider.java:107)
    at io.opentelemetry.sdk.OpenTelemetrySdk.shutdown(OpenTelemetrySdk.java:111)
    at io.opentelemetry.sdk.OpenTelemetrySdk.close(OpenTelemetrySdk.java:119)
    at java.base/java.lang.Thread.run(Thread.java:833)
[otel.javaagent 2023-08-24 09:32:16:522 +0100] [Thread-0] DEBUG shadow.io.grpc.ManagedChannelRegistry - Unable to find UdsNettyChannelProvider
java.lang.ClassNotFoundException: shadow.io.grpc.netty.UdsNettyChannelProvider
    at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:375)
    at shadow.io.grpc.ManagedChannelRegistry.getHardCodedClasses(ManagedChannelRegistry.java:147)
    at shadow.io.grpc.ManagedChannelRegistry.getDefaultRegistry(ManagedChannelRegistry.java:103)
    at shadow.io.grpc.ManagedChannelProvider.provider(ManagedChannelProvider.java:43)
    at shadow.io.grpc.ManagedChannelBuilder.forAddress(ManagedChannelBuilder.java:39)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createSingleChannel(InstantiatingGrpcChannelProvider.java:351)
    at shadow.com.google.api.gax.grpc.ChannelPool.<init>(ChannelPool.java:107)
    at shadow.com.google.api.gax.grpc.ChannelPool.create(ChannelPool.java:85)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createChannel(InstantiatingGrpcChannelProvider.java:236)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.getTransportChannel(InstantiatingGrpcChannelProvider.java:230)
    at shadow.com.google.api.gax.rpc.ClientContext.create(ClientContext.java:201)
    at shadow.com.google.cloud.trace.v2.stub.GrpcTraceServiceStub.create(GrpcTraceServiceStub.java:71)
    at shadow.com.google.cloud.trace.v2.stub.TraceServiceStubSettings.createStub(TraceServiceStubSettings.java:112)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.<init>(TraceServiceClient.java:160)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.create(TraceServiceClient.java:142)
    at shadow.com.google.cloud.opentelemetry.trace.InternalTraceExporter.createWithConfiguration(InternalTraceExporter.java:103)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.lambda$new$0(TraceExporter.java:41)
    at shadow.com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.get(Suppliers.java:183)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.shutdown(TraceExporter.java:98)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.lambda$shutdown$3(BatchSpanProcessor.java:294)
    at io.opentelemetry.sdk.common.CompletableResultCode.whenComplete(CompletableResultCode.java:133)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.shutdown(BatchSpanProcessor.java:291)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.access$200(BatchSpanProcessor.java:149)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor.shutdown(BatchSpanProcessor.java:115)
    at io.opentelemetry.sdk.trace.MultiSpanProcessor.shutdown(MultiSpanProcessor.java:68)
    at io.opentelemetry.sdk.trace.TracerSharedState.shutdown(TracerSharedState.java:103)
    at io.opentelemetry.sdk.trace.SdkTracerProvider.shutdown(SdkTracerProvider.java:107)
    at io.opentelemetry.sdk.OpenTelemetrySdk.shutdown(OpenTelemetrySdk.java:111)
    at io.opentelemetry.sdk.OpenTelemetrySdk.close(OpenTelemetrySdk.java:119)
    at java.base/java.lang.Thread.run(Thread.java:833)
[otel.javaagent 2023-08-24 09:32:16:590 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.logging.InternalLoggerFactory - Using java.util.logging as the default logging framework
[otel.javaagent 2023-08-24 09:32:16:598 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - -Dio.netty.noUnsafe: false
[otel.javaagent 2023-08-24 09:32:16:598 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - Java version: 17
[otel.javaagent 2023-08-24 09:32:16:600 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available
[otel.javaagent 2023-08-24 09:32:16:601 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available
[otel.javaagent 2023-08-24 09:32:16:601 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.storeFence: available
[otel.javaagent 2023-08-24 09:32:16:602 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - java.nio.Buffer.address: available
[otel.javaagent 2023-08-24 09:32:16:602 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - direct buffer constructor: unavailable: Reflective setAccessible(true) disabled
[otel.javaagent 2023-08-24 09:32:16:603 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: available, true
[otel.javaagent 2023-08-24 09:32:16:604 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable: class shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0$7 cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @6e24fb31
[otel.javaagent 2023-08-24 09:32:16:605 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent0 - java.nio.DirectByteBuffer.<init>(long, int): unavailable
[otel.javaagent 2023-08-24 09:32:16:614 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - sun.misc.Unsafe: available
[otel.javaagent 2023-08-24 09:32:16:616 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - maxDirectMemory: 8589934592 bytes (maybe)
[otel.javaagent 2023-08-24 09:32:16:616 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - -Dio.netty.tmpdir: /var/folders/dy/2573lw_17wj4m2kkjt0h51gr0000gn/T (java.io.tmpdir)
[otel.javaagent 2023-08-24 09:32:16:616 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model)
[otel.javaagent 2023-08-24 09:32:16:617 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - Platform: MacOS
[otel.javaagent 2023-08-24 09:32:16:618 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - -Dio.netty.maxDirectMemory: -1 bytes
[otel.javaagent 2023-08-24 09:32:16:618 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - -Dio.netty.uninitializedArrayAllocationThreshold: -1
[otel.javaagent 2023-08-24 09:32:16:619 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.CleanerJava9 - java.nio.ByteBuffer.cleaner(): available
[otel.javaagent 2023-08-24 09:32:16:619 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false
[otel.javaagent 2023-08-24 09:32:16:685 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.grpc.netty.Utils - Epoll is not available, using Nio.
java.lang.ExceptionInInitializerError
    at shadow.io.grpc.netty.shaded.io.netty.channel.epoll.Epoll.<clinit>(Epoll.java:40)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:375)
    at shadow.io.grpc.netty.shaded.io.grpc.netty.Utils.isEpollAvailable(Utils.java:299)
    at shadow.io.grpc.netty.shaded.io.grpc.netty.Utils.<clinit>(Utils.java:115)
    at shadow.io.grpc.netty.shaded.io.grpc.netty.UdsNettyChannelProvider.isAvailable(UdsNettyChannelProvider.java:34)
    at shadow.io.grpc.ManagedChannelRegistry$ManagedChannelPriorityAccessor.isAvailable(ManagedChannelRegistry.java:211)
    at shadow.io.grpc.ManagedChannelRegistry$ManagedChannelPriorityAccessor.isAvailable(ManagedChannelRegistry.java:207)
    at shadow.io.grpc.ServiceProviders.loadAll(ServiceProviders.java:68)
    at shadow.io.grpc.ManagedChannelRegistry.getDefaultRegistry(ManagedChannelRegistry.java:101)
    at shadow.io.grpc.ManagedChannelProvider.provider(ManagedChannelProvider.java:43)
    at shadow.io.grpc.ManagedChannelBuilder.forAddress(ManagedChannelBuilder.java:39)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createSingleChannel(InstantiatingGrpcChannelProvider.java:351)
    at shadow.com.google.api.gax.grpc.ChannelPool.<init>(ChannelPool.java:107)
    at shadow.com.google.api.gax.grpc.ChannelPool.create(ChannelPool.java:85)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createChannel(InstantiatingGrpcChannelProvider.java:236)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.getTransportChannel(InstantiatingGrpcChannelProvider.java:230)
    at shadow.com.google.api.gax.rpc.ClientContext.create(ClientContext.java:201)
    at shadow.com.google.cloud.trace.v2.stub.GrpcTraceServiceStub.create(GrpcTraceServiceStub.java:71)
    at shadow.com.google.cloud.trace.v2.stub.TraceServiceStubSettings.createStub(TraceServiceStubSettings.java:112)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.<init>(TraceServiceClient.java:160)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.create(TraceServiceClient.java:142)
    at shadow.com.google.cloud.opentelemetry.trace.InternalTraceExporter.createWithConfiguration(InternalTraceExporter.java:103)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.lambda$new$0(TraceExporter.java:41)
    at shadow.com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.get(Suppliers.java:183)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.shutdown(TraceExporter.java:98)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.lambda$shutdown$3(BatchSpanProcessor.java:294)
    at io.opentelemetry.sdk.common.CompletableResultCode.whenComplete(CompletableResultCode.java:133)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.shutdown(BatchSpanProcessor.java:291)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.access$200(BatchSpanProcessor.java:149)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor.shutdown(BatchSpanProcessor.java:115)
    at io.opentelemetry.sdk.trace.MultiSpanProcessor.shutdown(MultiSpanProcessor.java:68)
    at io.opentelemetry.sdk.trace.TracerSharedState.shutdown(TracerSharedState.java:103)
    at io.opentelemetry.sdk.trace.SdkTracerProvider.shutdown(SdkTracerProvider.java:107)
    at io.opentelemetry.sdk.OpenTelemetrySdk.shutdown(OpenTelemetrySdk.java:111)
    at io.opentelemetry.sdk.OpenTelemetrySdk.close(OpenTelemetrySdk.java:119)
    at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.IllegalStateException: Only supported on Linux
    at shadow.io.grpc.netty.shaded.io.netty.channel.epoll.Native.loadNativeLibrary(Native.java:317)
    at shadow.io.grpc.netty.shaded.io.netty.channel.epoll.Native.<clinit>(Native.java:85)
    ... 37 more
[otel.javaagent 2023-08-24 09:32:16:696 +0100] [Thread-0] DEBUG shadow.io.grpc.ManagedChannelRegistry - Service loader found shadow.io.grpc.netty.shaded.io.grpc.netty.NettyChannelProvider@bea49f
[otel.javaagent 2023-08-24 09:32:16:746 +0100] [Thread-0] DEBUG shadow.io.grpc.NameResolverRegistry - Service loader found shadow.io.grpc.grpclb.SecretGrpclbNameResolverProvider$Provider@1ca70520
[otel.javaagent 2023-08-24 09:32:16:746 +0100] [Thread-0] DEBUG shadow.io.grpc.NameResolverRegistry - Service loader found shadow.io.grpc.internal.DnsNameResolverProvider@5f93c3ac
[otel.javaagent 2023-08-24 09:32:16:746 +0100] [Thread-0] DEBUG shadow.io.grpc.NameResolverRegistry - Service loader found shadow.io.grpc.xds.XdsNameResolverProvider@35f6a909
[otel.javaagent 2023-08-24 09:32:16:746 +0100] [Thread-0] DEBUG shadow.io.grpc.NameResolverRegistry - Service loader found shadow.io.grpc.googleapis.GoogleCloudToProdNameResolverProvider@7b01589b
[otel.javaagent 2023-08-24 09:32:16:746 +0100] [Thread-0] DEBUG shadow.io.grpc.NameResolverRegistry - Service loader found shadow.io.grpc.googleapis.GoogleCloudToProdExperimentalNameResolverProvider@5f2bdcde
[otel.javaagent 2023-08-24 09:32:16:746 +0100] [Thread-0] DEBUG shadow.io.grpc.NameResolverRegistry - Service loader found shadow.io.grpc.netty.shaded.io.grpc.netty.UdsNameResolverProvider@1e64ea34
[otel.javaagent 2023-08-24 09:32:16:788 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader - -Dio.netty.native.workdir: /var/folders/dy/2573lw_17wj4m2kkjt0h51gr0000gn/T (io.netty.tmpdir)
[otel.javaagent 2023-08-24 09:32:16:788 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader - -Dio.netty.native.deleteLibAfterLoading: true
[otel.javaagent 2023-08-24 09:32:16:788 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader - -Dio.netty.native.tryPatchShadedId: true
[otel.javaagent 2023-08-24 09:32:16:788 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader - -Dio.netty.native.detectNativeLibraryDuplicates: true
[otel.javaagent 2023-08-24 09:32:16:819 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.handler.ssl.OpenSsl - Failed to load netty-tcnative; OpenSslEngine will be unavailable, unless the application has already loaded the symbols by some other means. See https://netty.io/wiki/forked-tomcat-native.html for more information.
java.lang.IllegalArgumentException: Failed to load any of the given libraries: [netty_tcnative_osx_x86_64, netty_tcnative_x86_64, netty_tcnative]
    at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:114)
    at shadow.io.grpc.netty.shaded.io.netty.handler.ssl.OpenSsl.loadTcNative(OpenSsl.java:710)
    at shadow.io.grpc.netty.shaded.io.netty.handler.ssl.OpenSsl.<clinit>(OpenSsl.java:149)
    at shadow.io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts.defaultSslProvider(GrpcSslContexts.java:228)
    at shadow.io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts.configure(GrpcSslContexts.java:146)
    at shadow.io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts.forClient(GrpcSslContexts.java:95)
    at shadow.io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder$DefaultProtocolNegotiator.newNegotiator(NettyChannelBuilder.java:638)
    at shadow.io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder.buildTransportFactory(NettyChannelBuilder.java:539)
    at shadow.io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder$NettyChannelTransportFactoryBuilder.buildClientTransportFactory(NettyChannelBuilder.java:183)
    at shadow.io.grpc.internal.ManagedChannelImplBuilder.build(ManagedChannelImplBuilder.java:627)
    at shadow.io.grpc.internal.AbstractManagedChannelImplBuilder.build(AbstractManagedChannelImplBuilder.java:297)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createSingleChannel(InstantiatingGrpcChannelProvider.java:389)
    at shadow.com.google.api.gax.grpc.ChannelPool.<init>(ChannelPool.java:107)
    at shadow.com.google.api.gax.grpc.ChannelPool.create(ChannelPool.java:85)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createChannel(InstantiatingGrpcChannelProvider.java:236)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.getTransportChannel(InstantiatingGrpcChannelProvider.java:230)
    at shadow.com.google.api.gax.rpc.ClientContext.create(ClientContext.java:201)
    at shadow.com.google.cloud.trace.v2.stub.GrpcTraceServiceStub.create(GrpcTraceServiceStub.java:71)
    at shadow.com.google.cloud.trace.v2.stub.TraceServiceStubSettings.createStub(TraceServiceStubSettings.java:112)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.<init>(TraceServiceClient.java:160)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.create(TraceServiceClient.java:142)
    at shadow.com.google.cloud.opentelemetry.trace.InternalTraceExporter.createWithConfiguration(InternalTraceExporter.java:103)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.lambda$new$0(TraceExporter.java:41)
    at shadow.com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.get(Suppliers.java:183)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.shutdown(TraceExporter.java:98)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.lambda$shutdown$3(BatchSpanProcessor.java:294)
    at io.opentelemetry.sdk.common.CompletableResultCode.whenComplete(CompletableResultCode.java:133)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.shutdown(BatchSpanProcessor.java:291)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.access$200(BatchSpanProcessor.java:149)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor.shutdown(BatchSpanProcessor.java:115)
    at io.opentelemetry.sdk.trace.MultiSpanProcessor.shutdown(MultiSpanProcessor.java:68)
    at io.opentelemetry.sdk.trace.TracerSharedState.shutdown(TracerSharedState.java:103)
    at io.opentelemetry.sdk.trace.SdkTracerProvider.shutdown(SdkTracerProvider.java:107)
    at io.opentelemetry.sdk.OpenTelemetrySdk.shutdown(OpenTelemetrySdk.java:111)
    at io.opentelemetry.sdk.OpenTelemetrySdk.close(OpenTelemetrySdk.java:119)
    at java.base/java.lang.Thread.run(Thread.java:833)
    Suppressed: java.lang.UnsatisfiedLinkError: could not load a native library: shadow_io_grpc_netty_shaded_netty_tcnative_osx_x86_64
        at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:239)
        at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:105)
        ... 35 more
    Caused by: java.io.FileNotFoundException: META-INF/native/libshadow_io_grpc_netty_shaded_netty_tcnative_osx_x86_64.jnilib
        at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:181)
        ... 36 more
        Suppressed: java.lang.UnsatisfiedLinkError: no shadow_io_grpc_netty_shaded_netty_tcnative_osx_x86_64 in java.library.path: /Users/dgeyer/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
            at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2429)
            at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
            at java.base/java.lang.System.loadLibrary(System.java:1989)
            at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38)
            at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:391)
            at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:161)
            ... 36 more
            Suppressed: java.lang.UnsatisfiedLinkError: no shadow_io_grpc_netty_shaded_netty_tcnative_osx_x86_64 in java.library.path: /Users/dgeyer/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
                at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2429)
                at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
                at java.base/java.lang.System.loadLibrary(System.java:1989)
                at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38)
                at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
                at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.base/java.lang.reflect.Method.invoke(Method.java:568)
                at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader$1.run(NativeLibraryLoader.java:425)
                at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
                at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibraryByHelper(NativeLibraryLoader.java:417)
                at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:383)
                ... 37 more
    Suppressed: java.lang.UnsatisfiedLinkError: could not load a native library: shadow_io_grpc_netty_shaded_netty_tcnative_x86_64
        at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:239)
        at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:105)
        ... 35 more
    Caused by: java.io.FileNotFoundException: META-INF/native/libshadow_io_grpc_netty_shaded_netty_tcnative_x86_64.jnilib
        at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:181)
        ... 36 more
        Suppressed: java.lang.UnsatisfiedLinkError: no shadow_io_grpc_netty_shaded_netty_tcnative_x86_64 in java.library.path: /Users/dgeyer/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
            at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2429)
            at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
            at java.base/java.lang.System.loadLibrary(System.java:1989)
            at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38)
            at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:391)
            at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:161)
            ... 36 more
            Suppressed: java.lang.UnsatisfiedLinkError: no shadow_io_grpc_netty_shaded_netty_tcnative_x86_64 in java.library.path: /Users/dgeyer/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
                at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2429)
                at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
                at java.base/java.lang.System.loadLibrary(System.java:1989)
                at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38)
                at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
                at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.base/java.lang.reflect.Method.invoke(Method.java:568)
                at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader$1.run(NativeLibraryLoader.java:425)
                at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
                at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibraryByHelper(NativeLibraryLoader.java:417)
                at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:383)
                ... 37 more
    Suppressed: java.lang.UnsatisfiedLinkError: could not load a native library: shadow_io_grpc_netty_shaded_netty_tcnative
        at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:239)
        at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:105)
        ... 35 more
    Caused by: java.io.FileNotFoundException: META-INF/native/libshadow_io_grpc_netty_shaded_netty_tcnative.jnilib
        at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:181)
        ... 36 more
        Suppressed: java.lang.UnsatisfiedLinkError: no shadow_io_grpc_netty_shaded_netty_tcnative in java.library.path: /Users/dgeyer/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
            at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2429)
            at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
            at java.base/java.lang.System.loadLibrary(System.java:1989)
            at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38)
            at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:391)
            at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:161)
            ... 36 more
            Suppressed: java.lang.UnsatisfiedLinkError: no shadow_io_grpc_netty_shaded_netty_tcnative in java.library.path: /Users/dgeyer/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
                at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2429)
                at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
                at java.base/java.lang.System.loadLibrary(System.java:1989)
                at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryUtil.loadLibrary(NativeLibraryUtil.java:38)
                at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
                at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.base/java.lang.reflect.Method.invoke(Method.java:568)
                at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader$1.run(NativeLibraryLoader.java:425)
                at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
                at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibraryByHelper(NativeLibraryLoader.java:417)
                at shadow.io.grpc.netty.shaded.io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:383)
                ... 37 more
[otel.javaagent 2023-08-24 09:32:16:822 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.handler.ssl.OpenSsl - Initialize netty-tcnative using engine: 'default'
[otel.javaagent 2023-08-24 09:32:16:829 +0100] [Thread-0] DEBUG io.opentelemetry.javaagent.tooling.AgentInstaller$TransformLoggingListener - Transformed shadow.io.grpc.netty.shaded.io.netty.internal.tcnative.SSLTask -- jdk.internal.loader.ClassLoaders$AppClassLoader@251a69d7
[otel.javaagent 2023-08-24 09:32:16:831 +0100] [Thread-0] DEBUG io.opentelemetry.javaagent.tooling.AgentInstaller$TransformLoggingListener - Transformed shadow.io.grpc.netty.shaded.io.netty.internal.tcnative.SSLTask$1 -- jdk.internal.loader.ClassLoaders$AppClassLoader@251a69d7
[otel.javaagent 2023-08-24 09:32:16:833 +0100] [Thread-0] DEBUG io.opentelemetry.javaagent.tooling.AgentInstaller$TransformLoggingListener - Transformed shadow.io.grpc.netty.shaded.io.netty.internal.tcnative.CertificateCallbackTask -- jdk.internal.loader.ClassLoaders$AppClassLoader@251a69d7
[otel.javaagent 2023-08-24 09:32:16:835 +0100] [Thread-0] DEBUG io.opentelemetry.javaagent.tooling.AgentInstaller$TransformLoggingListener - Transformed shadow.io.grpc.netty.shaded.io.netty.internal.tcnative.AsyncTask -- jdk.internal.loader.ClassLoaders$AppClassLoader@251a69d7
[otel.javaagent 2023-08-24 09:32:16:837 +0100] [Thread-0] DEBUG io.opentelemetry.javaagent.tooling.AgentInstaller$TransformLoggingListener - Transformed shadow.io.grpc.netty.shaded.io.netty.internal.tcnative.SSLPrivateKeyMethodTask -- jdk.internal.loader.ClassLoaders$AppClassLoader@251a69d7
[otel.javaagent 2023-08-24 09:32:16:839 +0100] [Thread-0] DEBUG io.opentelemetry.javaagent.tooling.AgentInstaller$TransformLoggingListener - Transformed shadow.io.grpc.netty.shaded.io.netty.internal.tcnative.SSLPrivateKeyMethodSignTask -- jdk.internal.loader.ClassLoaders$AppClassLoader@251a69d7
[otel.javaagent 2023-08-24 09:32:16:841 +0100] [Thread-0] DEBUG io.opentelemetry.javaagent.tooling.AgentInstaller$TransformLoggingListener - Transformed shadow.io.grpc.netty.shaded.io.netty.internal.tcnative.SSLPrivateKeyMethodDecryptTask -- jdk.internal.loader.ClassLoaders$AppClassLoader@251a69d7
[otel.javaagent 2023-08-24 09:32:16:842 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.handler.ssl.OpenSsl - Failed to initialize netty-tcnative; OpenSslEngine will be unavailable. See https://netty.io/wiki/forked-tomcat-native.html for more information.
java.lang.UnsatisfiedLinkError: 'int shadow.io.grpc.netty.shaded.io.netty.internal.tcnative.Library.aprMajorVersion()'
    at shadow.io.grpc.netty.shaded.io.netty.internal.tcnative.Library.aprMajorVersion(Native Method)
    at shadow.io.grpc.netty.shaded.io.netty.internal.tcnative.Library.initialize(Library.java:191)
    at shadow.io.grpc.netty.shaded.io.netty.handler.ssl.OpenSsl.initializeTcNative(OpenSsl.java:715)
    at shadow.io.grpc.netty.shaded.io.netty.handler.ssl.OpenSsl.<clinit>(OpenSsl.java:166)
    at shadow.io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts.defaultSslProvider(GrpcSslContexts.java:228)
    at shadow.io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts.configure(GrpcSslContexts.java:146)
    at shadow.io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts.forClient(GrpcSslContexts.java:95)
    at shadow.io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder$DefaultProtocolNegotiator.newNegotiator(NettyChannelBuilder.java:638)
    at shadow.io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder.buildTransportFactory(NettyChannelBuilder.java:539)
    at shadow.io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder$NettyChannelTransportFactoryBuilder.buildClientTransportFactory(NettyChannelBuilder.java:183)
    at shadow.io.grpc.internal.ManagedChannelImplBuilder.build(ManagedChannelImplBuilder.java:627)
    at shadow.io.grpc.internal.AbstractManagedChannelImplBuilder.build(AbstractManagedChannelImplBuilder.java:297)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createSingleChannel(InstantiatingGrpcChannelProvider.java:389)
    at shadow.com.google.api.gax.grpc.ChannelPool.<init>(ChannelPool.java:107)
    at shadow.com.google.api.gax.grpc.ChannelPool.create(ChannelPool.java:85)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createChannel(InstantiatingGrpcChannelProvider.java:236)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.getTransportChannel(InstantiatingGrpcChannelProvider.java:230)
    at shadow.com.google.api.gax.rpc.ClientContext.create(ClientContext.java:201)
    at shadow.com.google.cloud.trace.v2.stub.GrpcTraceServiceStub.create(GrpcTraceServiceStub.java:71)
    at shadow.com.google.cloud.trace.v2.stub.TraceServiceStubSettings.createStub(TraceServiceStubSettings.java:112)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.<init>(TraceServiceClient.java:160)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.create(TraceServiceClient.java:142)
    at shadow.com.google.cloud.opentelemetry.trace.InternalTraceExporter.createWithConfiguration(InternalTraceExporter.java:103)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.lambda$new$0(TraceExporter.java:41)
    at shadow.com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.get(Suppliers.java:183)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.shutdown(TraceExporter.java:98)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.lambda$shutdown$3(BatchSpanProcessor.java:294)
    at io.opentelemetry.sdk.common.CompletableResultCode.whenComplete(CompletableResultCode.java:133)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.shutdown(BatchSpanProcessor.java:291)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.access$200(BatchSpanProcessor.java:149)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor.shutdown(BatchSpanProcessor.java:115)
    at io.opentelemetry.sdk.trace.MultiSpanProcessor.shutdown(MultiSpanProcessor.java:68)
    at io.opentelemetry.sdk.trace.TracerSharedState.shutdown(TracerSharedState.java:103)
    at io.opentelemetry.sdk.trace.SdkTracerProvider.shutdown(SdkTracerProvider.java:107)
    at io.opentelemetry.sdk.OpenTelemetrySdk.shutdown(OpenTelemetrySdk.java:111)
    at io.opentelemetry.sdk.OpenTelemetrySdk.close(OpenTelemetrySdk.java:119)
    at java.base/java.lang.Thread.run(Thread.java:833)
[otel.javaagent 2023-08-24 09:32:17:087 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts - Selecting JDK with provider SunJSSE version 17
[otel.javaagent 2023-08-24 09:32:17:116 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.handler.ssl.JdkSslContext - Default protocols (JDK): [TLSv1.3, TLSv1.2]
[otel.javaagent 2023-08-24 09:32:17:116 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.handler.ssl.JdkSslContext - Default cipher suites (JDK): [TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384]
[otel.javaagent 2023-08-24 09:32:17:157 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.channel.MultithreadEventLoopGroup - -Dio.netty.eventLoopThreads: 24
[otel.javaagent 2023-08-24 09:32:17:179 +0100] [Thread-0] DEBUG io.opentelemetry.javaagent.tooling.AgentInstaller$TransformLoggingListener - Transformed java.util.concurrent.Executors$RunnableAdapter -- null
[otel.javaagent 2023-08-24 09:32:17:188 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024
[otel.javaagent 2023-08-24 09:32:17:188 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096
[otel.javaagent 2023-08-24 09:32:17:196 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.channel.nio.NioEventLoop - -Dio.netty.noKeySetOptimization: false
[otel.javaagent 2023-08-24 09:32:17:196 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.channel.nio.NioEventLoop - -Dio.netty.selectorAutoRebuildThreshold: 512
[otel.javaagent 2023-08-24 09:32:17:208 +0100] [Thread-0] DEBUG shadow.io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - org.jctools-core.MpscChunkedArrayQueue: available
[otel.javaagent 2023-08-24 09:32:17:216 +0100] [Thread-0] DEBUG shadow.io.grpc.internal.ManagedChannelImplBuilder - Unable to apply census stats
java.lang.ClassNotFoundException: shadow.io.grpc.census.InternalCensusStatsAccessor
    at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:375)
    at shadow.io.grpc.internal.ManagedChannelImplBuilder.getEffectiveInterceptors(ManagedChannelImplBuilder.java:652)
    at shadow.io.grpc.internal.ManagedChannelImplBuilder.build(ManagedChannelImplBuilder.java:631)
    at shadow.io.grpc.internal.AbstractManagedChannelImplBuilder.build(AbstractManagedChannelImplBuilder.java:297)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createSingleChannel(InstantiatingGrpcChannelProvider.java:389)
    at shadow.com.google.api.gax.grpc.ChannelPool.<init>(ChannelPool.java:107)
    at shadow.com.google.api.gax.grpc.ChannelPool.create(ChannelPool.java:85)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createChannel(InstantiatingGrpcChannelProvider.java:236)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.getTransportChannel(InstantiatingGrpcChannelProvider.java:230)
    at shadow.com.google.api.gax.rpc.ClientContext.create(ClientContext.java:201)
    at shadow.com.google.cloud.trace.v2.stub.GrpcTraceServiceStub.create(GrpcTraceServiceStub.java:71)
    at shadow.com.google.cloud.trace.v2.stub.TraceServiceStubSettings.createStub(TraceServiceStubSettings.java:112)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.<init>(TraceServiceClient.java:160)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.create(TraceServiceClient.java:142)
    at shadow.com.google.cloud.opentelemetry.trace.InternalTraceExporter.createWithConfiguration(InternalTraceExporter.java:103)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.lambda$new$0(TraceExporter.java:41)
    at shadow.com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.get(Suppliers.java:183)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.shutdown(TraceExporter.java:98)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.lambda$shutdown$3(BatchSpanProcessor.java:294)
    at io.opentelemetry.sdk.common.CompletableResultCode.whenComplete(CompletableResultCode.java:133)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.shutdown(BatchSpanProcessor.java:291)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.access$200(BatchSpanProcessor.java:149)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor.shutdown(BatchSpanProcessor.java:115)
    at io.opentelemetry.sdk.trace.MultiSpanProcessor.shutdown(MultiSpanProcessor.java:68)
    at io.opentelemetry.sdk.trace.TracerSharedState.shutdown(TracerSharedState.java:103)
    at io.opentelemetry.sdk.trace.SdkTracerProvider.shutdown(SdkTracerProvider.java:107)
    at io.opentelemetry.sdk.OpenTelemetrySdk.shutdown(OpenTelemetrySdk.java:111)
    at io.opentelemetry.sdk.OpenTelemetrySdk.close(OpenTelemetrySdk.java:119)
    at java.base/java.lang.Thread.run(Thread.java:833)
[otel.javaagent 2023-08-24 09:32:17:226 +0100] [Thread-0] DEBUG shadow.io.grpc.internal.ManagedChannelImplBuilder - Unable to apply census stats
java.lang.ClassNotFoundException: shadow.io.grpc.census.InternalCensusTracingAccessor
    at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:375)
    at shadow.io.grpc.internal.ManagedChannelImplBuilder.getEffectiveInterceptors(ManagedChannelImplBuilder.java:688)
    at shadow.io.grpc.internal.ManagedChannelImplBuilder.build(ManagedChannelImplBuilder.java:631)
    at shadow.io.grpc.internal.AbstractManagedChannelImplBuilder.build(AbstractManagedChannelImplBuilder.java:297)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createSingleChannel(InstantiatingGrpcChannelProvider.java:389)
    at shadow.com.google.api.gax.grpc.ChannelPool.<init>(ChannelPool.java:107)
    at shadow.com.google.api.gax.grpc.ChannelPool.create(ChannelPool.java:85)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createChannel(InstantiatingGrpcChannelProvider.java:236)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.getTransportChannel(InstantiatingGrpcChannelProvider.java:230)
    at shadow.com.google.api.gax.rpc.ClientContext.create(ClientContext.java:201)
    at shadow.com.google.cloud.trace.v2.stub.GrpcTraceServiceStub.create(GrpcTraceServiceStub.java:71)
    at shadow.com.google.cloud.trace.v2.stub.TraceServiceStubSettings.createStub(TraceServiceStubSettings.java:112)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.<init>(TraceServiceClient.java:160)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.create(TraceServiceClient.java:142)
    at shadow.com.google.cloud.opentelemetry.trace.InternalTraceExporter.createWithConfiguration(InternalTraceExporter.java:103)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.lambda$new$0(TraceExporter.java:41)
    at shadow.com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.get(Suppliers.java:183)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.shutdown(TraceExporter.java:98)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.lambda$shutdown$3(BatchSpanProcessor.java:294)
    at io.opentelemetry.sdk.common.CompletableResultCode.whenComplete(CompletableResultCode.java:133)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.shutdown(BatchSpanProcessor.java:291)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.access$200(BatchSpanProcessor.java:149)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor.shutdown(BatchSpanProcessor.java:115)
    at io.opentelemetry.sdk.trace.MultiSpanProcessor.shutdown(MultiSpanProcessor.java:68)
    at io.opentelemetry.sdk.trace.TracerSharedState.shutdown(TracerSharedState.java:103)
    at io.opentelemetry.sdk.trace.SdkTracerProvider.shutdown(SdkTracerProvider.java:107)
    at io.opentelemetry.sdk.OpenTelemetrySdk.shutdown(OpenTelemetrySdk.java:111)
    at io.opentelemetry.sdk.OpenTelemetrySdk.close(OpenTelemetrySdk.java:119)
    at java.base/java.lang.Thread.run(Thread.java:833)
[otel.javaagent 2023-08-24 09:32:17:274 +0100] [Thread-0] DEBUG shadow.io.grpc.LoadBalancerRegistry - Service loader found HealthCheckingRoundRobinLoadBalancerProvider{policy=round_robin, priority=6, available=true}
[otel.javaagent 2023-08-24 09:32:17:274 +0100] [Thread-0] DEBUG shadow.io.grpc.LoadBalancerRegistry - Service loader found WrrLocalityLoadBalancerProvider{policy=wrr_locality_experimental, priority=5, available=true}
[otel.javaagent 2023-08-24 09:32:17:274 +0100] [Thread-0] DEBUG shadow.io.grpc.LoadBalancerRegistry - Service loader found WeightedTargetLoadBalancerProvider{policy=weighted_target_experimental, priority=5, available=true}
[otel.javaagent 2023-08-24 09:32:17:274 +0100] [Thread-0] DEBUG shadow.io.grpc.LoadBalancerRegistry - Service loader found WeightedRoundRobinLoadBalancerProvider{policy=weighted_round_robin_experimental, priority=5, available=true}
[otel.javaagent 2023-08-24 09:32:17:274 +0100] [Thread-0] DEBUG shadow.io.grpc.LoadBalancerRegistry - Service loader found RingHashLoadBalancerProvider{policy=ring_hash_experimental, priority=5, available=true}
[otel.javaagent 2023-08-24 09:32:17:274 +0100] [Thread-0] DEBUG shadow.io.grpc.LoadBalancerRegistry - Service loader found PriorityLoadBalancerProvider{policy=priority_experimental, priority=5, available=true}
[otel.javaagent 2023-08-24 09:32:17:274 +0100] [Thread-0] DEBUG shadow.io.grpc.LoadBalancerRegistry - Service loader found LeastRequestLoadBalancerProvider{policy=least_request_experimental, priority=5, available=true}
[otel.javaagent 2023-08-24 09:32:17:274 +0100] [Thread-0] DEBUG shadow.io.grpc.LoadBalancerRegistry - Service loader found ClusterResolverLoadBalancerProvider{policy=cluster_resolver_experimental, priority=5, available=true}
[otel.javaagent 2023-08-24 09:32:17:274 +0100] [Thread-0] DEBUG shadow.io.grpc.LoadBalancerRegistry - Service loader found ClusterManagerLoadBalancerProvider{policy=cluster_manager_experimental, priority=5, available=true}
[otel.javaagent 2023-08-24 09:32:17:274 +0100] [Thread-0] DEBUG shadow.io.grpc.LoadBalancerRegistry - Service loader found ClusterImplLoadBalancerProvider{policy=cluster_impl_experimental, priority=5, available=true}
[otel.javaagent 2023-08-24 09:32:17:298 +0100] [Thread-0] DEBUG shadow.io.grpc.LoadBalancerRegistry - Service loader found CdsLoadBalancerProvider{policy=cds_experimental, priority=5, available=true}
[otel.javaagent 2023-08-24 09:32:17:299 +0100] [Thread-0] DEBUG shadow.io.grpc.LoadBalancerRegistry - Service loader found Provider{policy=round_robin, priority=5, available=true}
[otel.javaagent 2023-08-24 09:32:17:299 +0100] [Thread-0] DEBUG shadow.io.grpc.LoadBalancerRegistry - Service loader found OutlierDetectionLoadBalancerProvider{policy=outlier_detection_experimental, priority=5, available=true}
[otel.javaagent 2023-08-24 09:32:17:299 +0100] [Thread-0] DEBUG shadow.io.grpc.LoadBalancerRegistry - Service loader found PickFirstLoadBalancerProvider{policy=pick_first, priority=5, available=true}
[otel.javaagent 2023-08-24 09:32:17:299 +0100] [Thread-0] DEBUG shadow.io.grpc.LoadBalancerRegistry - Service loader found GrpclbLoadBalancerProvider{policy=grpclb, priority=5, available=true}
[otel.javaagent 2023-08-24 09:32:17:306 +0100] [Thread-0] DEBUG shadow.io.grpc.internal.DnsNameResolver - JndiResourceResolverFactory not available, skipping.
java.lang.ClassNotFoundException: com.sun.jndi.dns.DnsContextFactory
    at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:375)
    at shadow.io.grpc.internal.JndiResourceResolverFactory.initJndi(JndiResourceResolverFactory.java:63)
    at shadow.io.grpc.internal.JndiResourceResolverFactory.<clinit>(JndiResourceResolverFactory.java:47)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:467)
    at shadow.io.grpc.internal.DnsNameResolver.getResourceResolverFactory(DnsNameResolver.java:667)
    at shadow.io.grpc.internal.DnsNameResolver.<clinit>(DnsNameResolver.java:119)
    at shadow.io.grpc.grpclb.SecretGrpclbNameResolverProvider$Provider.newNameResolver(SecretGrpclbNameResolverProvider.java:65)
    at shadow.io.grpc.grpclb.SecretGrpclbNameResolverProvider$Provider.newNameResolver(SecretGrpclbNameResolverProvider.java:52)
    at shadow.io.grpc.NameResolverRegistry$NameResolverFactory.newNameResolver(NameResolverRegistry.java:171)
    at shadow.io.grpc.internal.ManagedChannelImpl.getNameResolver(ManagedChannelImpl.java:736)
    at shadow.io.grpc.internal.ManagedChannelImpl.getNameResolver(ManagedChannelImpl.java:750)
    at shadow.io.grpc.internal.ManagedChannelImpl.<init>(ManagedChannelImpl.java:630)
    at shadow.io.grpc.internal.ManagedChannelImplBuilder.build(ManagedChannelImplBuilder.java:631)
    at shadow.io.grpc.internal.AbstractManagedChannelImplBuilder.build(AbstractManagedChannelImplBuilder.java:297)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createSingleChannel(InstantiatingGrpcChannelProvider.java:389)
    at shadow.com.google.api.gax.grpc.ChannelPool.<init>(ChannelPool.java:107)
    at shadow.com.google.api.gax.grpc.ChannelPool.create(ChannelPool.java:85)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createChannel(InstantiatingGrpcChannelProvider.java:236)
    at shadow.com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.getTransportChannel(InstantiatingGrpcChannelProvider.java:230)
    at shadow.com.google.api.gax.rpc.ClientContext.create(ClientContext.java:201)
    at shadow.com.google.cloud.trace.v2.stub.GrpcTraceServiceStub.create(GrpcTraceServiceStub.java:71)
    at shadow.com.google.cloud.trace.v2.stub.TraceServiceStubSettings.createStub(TraceServiceStubSettings.java:112)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.<init>(TraceServiceClient.java:160)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.create(TraceServiceClient.java:142)
    at shadow.com.google.cloud.opentelemetry.trace.InternalTraceExporter.createWithConfiguration(InternalTraceExporter.java:103)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.lambda$new$0(TraceExporter.java:41)
    at shadow.com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.get(Suppliers.java:183)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.shutdown(TraceExporter.java:98)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.lambda$shutdown$3(BatchSpanProcessor.java:294)
    at io.opentelemetry.sdk.common.CompletableResultCode.whenComplete(CompletableResultCode.java:133)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.shutdown(BatchSpanProcessor.java:291)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.access$200(BatchSpanProcessor.java:149)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor.shutdown(BatchSpanProcessor.java:115)
    at io.opentelemetry.sdk.trace.MultiSpanProcessor.shutdown(MultiSpanProcessor.java:68)
    at io.opentelemetry.sdk.trace.TracerSharedState.shutdown(TracerSharedState.java:103)
    at io.opentelemetry.sdk.trace.SdkTracerProvider.shutdown(SdkTracerProvider.java:107)
    at io.opentelemetry.sdk.OpenTelemetrySdk.shutdown(OpenTelemetrySdk.java:111)
    at io.opentelemetry.sdk.OpenTelemetrySdk.close(OpenTelemetrySdk.java:119)
    at java.base/java.lang.Thread.run(Thread.java:833)
[otel.javaagent 2023-08-24 09:32:17:340 +0100] [Thread-0] DEBUG shadow.io.grpc.auth.GoogleAuthLibraryCallCredentials - AppEngineCredentials not available in classloader
java.lang.ClassNotFoundException: shadow.com.google.auth.appengine.AppEngineCredentials
    at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:375)
    at shadow.io.grpc.auth.GoogleAuthLibraryCallCredentials.loadAppEngineCredentials(GoogleAuthLibraryCallCredentials.java:254)
    at shadow.io.grpc.auth.GoogleAuthLibraryCallCredentials.<clinit>(GoogleAuthLibraryCallCredentials.java:57)
    at shadow.io.grpc.auth.MoreCallCredentials.from(MoreCallCredentials.java:35)
    at shadow.com.google.api.gax.grpc.GrpcCallContext.withCredentials(GrpcCallContext.java:160)
    at shadow.com.google.api.gax.grpc.GrpcCallContext.withCredentials(GrpcCallContext.java:67)
    at shadow.com.google.api.gax.rpc.ClientContext.create(ClientContext.java:206)
    at shadow.com.google.cloud.trace.v2.stub.GrpcTraceServiceStub.create(GrpcTraceServiceStub.java:71)
    at shadow.com.google.cloud.trace.v2.stub.TraceServiceStubSettings.createStub(TraceServiceStubSettings.java:112)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.<init>(TraceServiceClient.java:160)
    at shadow.com.google.cloud.trace.v2.TraceServiceClient.create(TraceServiceClient.java:142)
    at shadow.com.google.cloud.opentelemetry.trace.InternalTraceExporter.createWithConfiguration(InternalTraceExporter.java:103)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.lambda$new$0(TraceExporter.java:41)
    at shadow.com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.get(Suppliers.java:183)
    at shadow.com.google.cloud.opentelemetry.trace.TraceExporter.shutdown(TraceExporter.java:98)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.lambda$shutdown$3(BatchSpanProcessor.java:294)
    at io.opentelemetry.sdk.common.CompletableResultCode.whenComplete(CompletableResultCode.java:133)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.shutdown(BatchSpanProcessor.java:291)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.access$200(BatchSpanProcessor.java:149)
    at io.opentelemetry.sdk.trace.export.BatchSpanProcessor.shutdown(BatchSpanProcessor.java:115)
    at io.opentelemetry.sdk.trace.MultiSpanProcessor.shutdown(MultiSpanProcessor.java:68)
    at io.opentelemetry.sdk.trace.TracerSharedState.shutdown(TracerSharedState.java:103)
    at io.opentelemetry.sdk.trace.SdkTracerProvider.shutdown(SdkTracerProvider.java:107)
    at io.opentelemetry.sdk.OpenTelemetrySdk.shutdown(OpenTelemetrySdk.java:111)
    at io.opentelemetry.sdk.OpenTelemetrySdk.close(OpenTelemetrySdk.java:119)
    at java.base/java.lang.Thread.run(Thread.java:833)
[otel.javaagent 2023-08-24 09:32:17:384 +0100] [Thread-0] DEBUG io.opentelemetry.javaagent.tooling.AgentInstaller$TransformLoggingListener - Transformed java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask -- null
[otel.javaagent 2023-08-24 09:32:17:388 +0100] [Thread-0] DEBUG io.opentelemetry.javaagent.tooling.AgentInstaller$TransformLoggingListener - Transformed java.util.concurrent.FutureTask -- null
psx95 commented 1 year ago

Hi @dgeyer, From your use of -Dotel.javaagent.debug=true flag, I am assuming that you are trying to auto-instrument your app.

For auto configuration with auto instrumentation, could you try using Dotel.javaagent.experimental.extensions instead of -Dotel.javaagent.extensions flag.

Let me know if this fixes your issue.

Samples

You can also refer to the examples in the repo -

aabmass commented 1 year ago

@dgeyer did that fix your issue?

dgeyer commented 1 year ago

@aabmass I see some are exported but I still see some exceptions in the debug mode. I will have a more detailed look tomorrow

dgeyer commented 1 year ago

I see the same exceptions when I add the VM param '-Dotel.javaagent.debug=true' to the example in: Auto instrumentation with auto-configuration

and run it using the run_in_docker.sh script

The traces are being exported

The exceptions are:

psx95 commented 1 year ago

These exceptions do show up in the debug logs but it looks like it is not affecting the functionality of the exporter. Auto exporter seems to be working fine.

Cause behind these exceptions still need to be determined. I will keep this bug open to track this, but it is low-priority for now.

icoloma commented 10 months ago

I may be able to share some light here. These libraries try to load some native libraries and implementation classes to provide with optimized network access. AFAIK these are all dependencies of gRPC:

The rest seems to be variations of the same pattern, trying to load Java classes to trigger plug-in behavior. For example, it seems that gRPC will use JNDI if available, by trying to load DnsContextFactory.