You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kibana version: 8.13.0 Elasticsearch version: 8.13 APM Server version: 8.13.0 APM Agent language and version: Profiler 1.26.0 Fresh install or upgraded from other version? Fresh install
Environment
Operating system and version: Windows 10
.NET Framework/Core name and version (e.g. .NET 4.6.2, NET Core 3.1.100) : .NET 4.7.2
When starting our application after enabling the profiler with the below script, our application crashes (screenshot below of some logs). When the profiler is disabled, the application loads as normal.
Any help on how we can diagnose this further would be appreciated.
APM .net agent works fine to add traces. We had no issues with this
The reason we were exploring the profiler as an option was to give us SQL tracing, as I believe this isn't supported with the agent in .net framework mentioned here
Microsoft.Data.SqlClient is used, 1.1.3, but we have tried upgrading this with no success
We have tried removing all references to the Elastic APM agent in code also, this does not have any affect.
You will notice in the log file that there is [ERROR] No rejit method found for target: Npgsql.NpgsqlCommand.ExecuteReaderAsync, I removed the Npsql integration and this did go away, but the crashing still persisted
Expected behavior
The profiler to start
Actual behavior
The profiler causes our application to crash. No logs given point us in any direction
The text was updated successfully, but these errors were encountered:
Kibana version: 8.13.0
Elasticsearch version: 8.13
APM Server version: 8.13.0
APM Agent language and version: Profiler 1.26.0
Fresh install or upgraded from other version? Fresh install
Environment
Operating system and version: Windows 10
.NET Framework/Core name and version (e.g. .NET 4.6.2, NET Core 3.1.100) : .NET 4.7.2
Application Target Framework(s) (e.g. net462, netcoreapp3.1): net472
Describe the bug
When starting our application after enabling the profiler with the below script, our application crashes (screenshot below of some logs). When the profiler is disabled, the application loads as normal.
Any help on how we can diagnose this further would be appreciated.
To Reproduce
Script to init profiler:
Below are the errors we get, they dont really point us anywhere obvious
elastic_apm_profiler_w3wp_22680_1726702449.log - I have redacted information from this. Let me know if you need the trace logs and we can organise something
Notes:
[ERROR] No rejit method found for target: Npgsql.NpgsqlCommand.ExecuteReaderAsync
, I removed the Npsql integration and this did go away, but the crashing still persistedExpected behavior
The profiler to start
Actual behavior
The profiler causes our application to crash. No logs given point us in any direction
The text was updated successfully, but these errors were encountered: