-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aspnetcore on linux-arm64, crash on startup "Could not load file or assembly Datadog.Trace" #6425
Comments
Hi @gfody, sorry to hear you're having issues. A couple of clarifications - you've shown the ENV VAR configuration that's required for .NET Framework ( Aside from that, I wasn't able to reproduce the bahaviour you're describing. Would it be possible to provide a minimal repro so that we can look into it? Alternatively, could you contact support and they will walk through collecting logs etc so that we can figure out what's going on here. Thanks! |
ah yes here's my actual config now after reverting (I had changed the profiler_path and tracer_home to point to my apps install directory where Datadog.Trace.Bundle was) .. there must be some other precondition because after I rebooted the machine I stopped being able to reproduce it. If I can get a minimal repro I'll update here
this might actually be a bug in Serilog, it seems not to repro w/o |
Oh, that's interesting information, thanks! The If you can confirm that enabling that key still causes the issue, that would be great, but I'm still not able to reproduce the issue locally... The only scenario we can think where you could get into this problem would be if you had two versions of the tracer loaded 🤔 I wonder if there are some "left over" dlls lying around in the output folder causing some strange issues (I would love to know if so, so we can replicate it!) If you can still replicate it, it would be useful if you could raise a support ticket, so that we can see all the log files so that we can get to the bottom of this 🙂 |
Describe the bug
I'm trying to use Datadog.Trace.Bundle to simplify my deployment process, but my site crashes on startup with:
To Reproduce
Steps to reproduce the behavior:
I followed the examples from here and setup my environment like so:
my project targets net8.0 and has these packagerefs
my initialization looks like this:
the
new LoggerConfiguration()
triggers the FileNotFoundExceptionif I copy the files from of
/myapp/datadog/net6.0
and/myapp/datadog/linux-arm64
into/myapp
then it starts and works fineExpected behavior
site should just work?
Runtime environment (please complete the following information):
The text was updated successfully, but these errors were encountered: