could you give me more details on the issue you are experiencing?
Do you see anything in Kibana (e.g. Service, metrics but no transactions) or don't you see anything?
The troubleshooting page explains how to collect agent logs. If you could attach those, this would be helpful.
No compatible agent for System.Diagnostics.DiagnosticSource 7.0.0.0. Agent not loaded
No Elastic.Apm.StartupHook.Loader.dll assembly loaded. Agent not loaded
Get Elastic.Apm.StartupHook.Loader.Loader type
it looks like you are using DOTNET_STARTUP_HOOKS as well.
However, DOTNET_STARTUP_HOOKS is not yet ready for .NET 7 (see this issue).
However, we are working on that at the moment and a new agent release with .NET 7 support should be available soon.
Are you using the profiler as well? You should not use both approaches (DOTNET_STARTUP_HOOKS and the profiler) in the same process.
I was trying in net 6 for testing. DOTNET_STARTUP_HOOKS then for .NET 7 I guess. thank you.
I saw this here (zero code change setup )(.NET5+)
2).NET Framework 4.6.1+
I am using a simple application for IIS. I was using this for the .NET Framework 4.6.1+
(IIS 10), but Services, traces, and metrics do not show up on APM server.
[system.application][error] .NET Runtime version 4.0.30319.0 - Failed to load profiler during CoCreateInstance. Profiler CLSID: '{FA65FE15-F085-4681-9B20-95E04F6C03CC}'. HRESULT: 0x800700c1. Process ID (decimal): 3656. Message ID: [0x2504].
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.