Closed stevejgordon closed 18 hours ago
I've included a sample that can be used to reproduce this by building images for various combinations of agent version and .NET runtime. The README
contains details of the steps to use it.
After testing this in several combinations, the latest agent seems to work on a .NET 8.0 container.
Runtime Version | Agent Version | Working (Y/N) |
---|---|---|
8.0 | 1.27.3 | Y |
7.0 | 1.27.3 | N |
6.0 | 1.27.3 | N |
8.0 | 1.22.0 | Y |
7.0 | 1.22.0 | Y |
6.0 | 1.22.0 | Y |
6.0 | 1.23.0 | N |
6.0 | Custom local build | N |
As yet untested in Linux outside of a container scenario.
On initial testing on a Debian 11 VM, 1.27.3 failed on .NET 6.0 and .NET 8.0. This is strange, as I had it working in a container. 1.22.0 seemed to work fine.
We have identified the root cause and hope to have a fix soon.
When building a container image containing the profiler agent for auto-instrumentation of ASP.NET Core applications, the agent is no longer working. No logs appear from the profiler, suggesting that this fails extremely early when the CLR attempts to load the profiler. We see no obvious logs from the .NET runtime to identify the reason for the failure.
We need to identify what changed between 1.22.0 and 1.23.0 that may have caused this. No obvious changes were made to the managed profiler code.