Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
10-10-2022 12:05 PM - last edited on 10-10-2022 03:11 PM by Ryan.Paredez
I'm going to implement AppDynamics to a .net core 6 rest api, and I can't get a successful connection.
I followed the steps from the link below:
https://docs.appdynamics.com/appd/22.x/latest/en/application-monitoring/install-app-ser[…]agent/inst...
What I notice is a single line in the profiler log and nothing else
2022-10-10 15:55:33.258255[0x00001b94]<info>:Use CoreCLR profiler
With that type of log, I can't even infer if it's a connection issue or an implementation issue.
Is there a demo project for visual studio, a sample to base on?
Solved! Go to Solution.
10-10-2022 01:09 PM - last edited on 10-10-2022 03:13 PM by Ryan.Paredez
Ok, finally I've got it to start creating other log files which brings a couple of conclutions and questions:
1. For the profilers environment variables I had to use FULL PATHs
"CORECLR_PROFILER_PATH_32": "...\\AppDynamics.Profiler_x86.dll"
2. In the AppDynamicsAgentLog.config file the following wildcard exists by default
${environment:variable=PROGRAMDATA}
This is a problem in IIS, so, does this support a relative path for IIS? should I replace that wildcard with ".\"?
3. I was forced to specify a "node" value for this to start working in the AppDynamicsConfig.json
4. If I follow the instructions and let the solution generate the APPNAME.AppDynamicsConfig.json it doesn't work, when I just leave AppDynamicsConfig.json it starts generating the log files and attempting to send telemetry.
How can I validate in the logs that telemetry was sent to the server successfully?
Thanks!
10-11-2022 12:41 PM
I need help resolving the point 4 in IIS it doesnt like to have APPName first, and visual studio keeps generating that regardless of what I do with the json file.
10-12-2022 09:51 AM
Are you saying step 4 in the Documentation is no longer correct or is leading to errors? If so, can you specify which step 4 you are referring to? I can then share this with the Docs team to have someone look into it.
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
10-12-2022 09:58 AM
Hi Ryan, correct! after adding the nuget package to the solution, it auto generates a file called
<<executable_name>>.AppDynamicsConfig.json where <<executable_name>> is the project name in visual studio, and when you compile is copied into the bin folder, but that doesnt activate AppDynamics, only when I manually removed the "executable name" part it starts working. So the file needed is plain and simple AppDynamicsConfig.json.
The other problem is VS behavior that adds the prefix, I would like to remove that as well, otherwise it forces us to add additional steps in our deployment tool to fix the file name.
10-12-2022 10:01 AM
I want to clarify that after I figured this out the solution started sending telemetry to our server. So its working, and we are happy. It just the trouble of following docs that are not accurate, or its probably a bug. Thanks for your help I await your suggestions.
10-12-2022 10:50 AM
Thank you for clarifying. I have reported this to the Docs team for them to investigate. I will report back when I hear something from them.
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
10-18-2022 01:30 PM
Still working on getting the Docs updated, but I heard this from a coworker.
When someone is using in-process hosting for IIS, they should add property <AppDynamicsUseCatchAllConfig>True</AppDynamicsUseCatchAllConfig> in there csproject. With it, config will be named just AppDynamicsConfig.json
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
10-24-2022 06:49 AM
Oh, nice! That's what I need. Thanks1
10-27-2022 12:11 PM
That last thing, worked like charm, thanks.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form