I am having lots of trouble using a .NET Core application in my environment, and it would be great if I could "see" what it is doing using APM. That application is closed-source and I cannot modify it.
I have usually worked in Java environments where you can attach a Java agent to a living PID, or modify the startup options of the program to enable the agent. Is there any way to do something like that to a .NET Core application?
I have access to the .exe file, the "web.config" and the "appsettings.json", and can run commands in the machine where the app is running.
We get this question a lot, and actually for .NET Core I think we can implement this quickly. We have not yet scheduled that issue for a specific release, but it's definitely worth following.
Hi @GregKalapos, and thanks for your prompt response
Before posting here I have been reading the Github issues, but I didn't found the one you linked, sorry about that!
Anyway, you reference there that it would be available from .NET Core 2.2, but it seems the app I'm trying to monitor has been created with version 2.1
but I didn't found the one you linked, sorry about that!
No worries, the issue name wasn't that very descriptive anyway
Would that left that feature out for my application?
The startup hooks probably won't work for you unfortunately as it seems.
The IHostingStartup exists already in 2.1, but that is I think ASP.NET Core specific - so I guess that would not work with e.g. a console application. Is your app ASP.NET Core? Creating an IHostingStartup is not a big deal, we can add it if that'd help you.
Is a standalone application, is not running inside an IIS, but the application is reached by other applications via HTTP requests, so yes, it responds to HTTP.
I'm already watching the issue, please reach me there if you want me to try/test/modify something or if you think I can contribute in any way. I will be pleased to help
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.