OpenTelemetry .NET Automatic Instrumentation: FileLoadException for OpenTelemetry.Instrumentation.Runtime, Version=1.11.1.410 Despite DLL Presence #4172
-
I’m encountering a issue with a .NET 8 application (ClaimSubmissionService) running in a Kubernetes pod, using OpenTelemetry .NET Automatic Instrumentation (v1.11.0). The application does not send traces as it emits System.IO.FileLoadException for OpenTelemetry.Instrumentation.Runtime, Version=1.11.1.410, even though OpenTelemetry.Instrumentation.Runtime.dll is present in /otel-dotnet-auto/net. I need help resolving the version mismatch and the permission error to stabilize the pod. Environment OpenTelemetry Version: v1.11.0 (installed via otel-dotnet-auto-install.sh) Kubernetes: AKS (version not specified, assume recent) OS: Ubuntu 22.04 (Jammy, from base image) .NET Runtime: .NET 8.0 Error Details [2025-04-27T11:32:32.5366626Z] [Error] Error in StartupHook initialization: LoaderFolderLocation: /otel-dotnet-auto/net However, OpenTelemetry.Instrumentation.Runtime.dll exists in /otel-dotnet-auto/net: ls /otel-dotnet-auto/netMicrosoft.Extensions.Diagnostics.Abstractions.dll OpenTelemetry.Instrumentation.Process.dll |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Linking with StackOverflow. Seems to be the same problem https://stackoverflow.com/questions/79595039/opentelemetry-net-automatic-instrumentation-fileloadexception-for-opentelemetr |
Beta Was this translation helpful? Give feedback.
-
SIG: closing the discussion due to the lack of repro. |
Beta Was this translation helpful? Give feedback.
SIG: closing the discussion due to the lack of repro.