cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
MARTINA.MELIANA
AppDynamics Team

Configuring URL Display in AppDynamics BT/Transaction Snapshots for .NET MVC Web Apps

Issue: The URLs shown in BT/Transaction Snapshots are incomplete.
Goal:Need full URL to differentiate slow search requests in the system caused by specific user input.
             Full URL example: https://host/Search/userInput
Tests: I tested the URL behavior on a .NET MVC web app.

Solutions:

  1. URL Display on URL Column:
  2. Complete URL Display on BT name Column:

Next Steps:

For Partial URL in URL column /Search/userInput:

  1. Add App Server Agent Configuration.
  2. Set the following .NET Agent Configuration properties to false:
    • aspdotnet-core-naming-controlleraction
    • aspdotnet-core-naming-controllerarea
       

      Screenshot 2024-07-26 at 17.22.27.png
  3. Restart the AppDynamics.Agent.Coordinator_service and IIS in the same sequence. After that, apply loads and check the BT/Snapshot if necessary.

For Complete URL in BT name https://host/Search/userInput:

  1. Navigate to Configuration > Instrumentation > Transaction Detection in your Application.
  2. Add New Rules:
    • Choose Include, proper Agent type, and Current Entry Point.
    • Fill in the Name Field (it will be shown on your BT).
    • Set Priority higher than Default Automatic detection for prioritization.
       
      Summary.png

  3. Rule Configuration:
    • Matching condition: URL is not empty
    • Custom Expression:
      ${HttpRequest.Scheme}://${HttpRequest.Host}${HttpRequest.Path}${HttpRequest.QueryString}
    • V_Split_Transactions_Using_Request_Data.png

       

  4. Restart the AppDynamics.Agent.Coordinator_service and  IIS in the same sequence. After that, apply loads and check the BT/Snapshot if necessary.

Final Result:

Pasted_Graphic_10.png

image.png

 

Additional Information:

  • You can also add the custom expression by modifying the default Auto detection rule instead off Add new one like how I did in the step above. Result from modifying the default auto detection below.
     

     

    Screenshot 2024-07-29 at 10.19.40.png

Version history
Last update:
‎07-29-2024 05:48 PM
Updated by:
On-Demand Webinar
Discover new Splunk integrations and AI innovations for Cisco AppDynamics.


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here
Contributors