Closed ArtemiiUstiukhinFortum closed 1 month ago
@ArtemiiUstiukhinFortum, it is known limitation, the easiest way to mitigate the issue is to always use nuget package. You can read about this on Splunk documentation.
If you are interested in more techical details you can always check upstream documentation. Keep in mind that package names, script names, configuration might be vary between these 2 distributions.
For now, there is nothing what we can do in general.
Please let me know if I can help you with other topics.
Describe the bug OpenTelemetry.AutoInstrumentation.Loader.Loader throws an exception
Could not load file or assembly 'Google.Protobuf, Version=3.22.5.0
when instrumented .NET App contains different version of the Google.Protobuf package.To Reproduce Steps to reproduce the behavior:
Expected behavior Splunk Distribution of OpenTelemetry .NET is running without errors.
Runtime environment:
OTEL ENV:
Solution A simple
Google.Protobuf
upgrade toVersion=3.22.5.0
fixes the issue. However it would be nice to know about incompatible packages in advance, because the only way to figure out the issue was to set the OTEL_LOG_LEVEL environment variable to debug and manually inspect the logs.