Are logs generated in your configured log directory /data/deploy/elastic-service/logs? There should be several with profiler in the name, which are created when you run the .NET application. Those might give us a clue as to what's preventing the profiler from attaching.
Thanks. The absence of logs suggests .NET is not even picking up the profiler or the profiler failing super early. We'll need to open an issue to investigate this on our end.
Are you using .NET 7 for the app target? Is your app running and a systemd daemon?
Note that .NET does not support is unsupported on CentOS Linux 7.
For the sake of experimentation, I moved libelastic_apm_profiler.so from 1.22.0 to 1.25.5.
I received this error/warn in the log
[2024-01-17T16:48:21.388417906+04:00] [WARN ] AssemblyLoadFinished: Elastic.Apm.Profiler.Managed 1.25.0.0 did not match profiler version 1.22.0.0. Will not be marked as loaded
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.