Hi @Arsenii.Shub ,
Thank you for posting on community. I saw you raised a support case already for this. Hence, I would like to share what was the solution, result of my experimentation, and additional information.
Issue: The URLs shown in BT/Transaction Snapshots are incomplete. Goal: Differentiate slow search requests in the system caused by specific user input. Tests: I tested the URL behavior on a .NET MVC web app.
Solutions:
URL Display on URL Column:
While it’s not possible to show the full URL with http://host/ , we can display the URL as /Search/userInput .
Reference: https://docs.appdynamics.com/appd/23.x/latest/en/application-monitoring/configure-instrumentation/transaction-detection-rules/custom-match-rules/net-business-transaction-detection/name-mvc-transactions-by-area-controller-and-action#id-.NameMVCTransactionsbyArea,Controller,andActionv23.1-MVCTransactionNaming
Complete URL Display on BT name Column:
It is possible to display the complete URL https://host/Search/userInput in the BT name.
Reference: https://docs.appdynamics.com/appd/23.x/latest/en/application-monitoring/configure-instrumentation/transaction-detection-rules/uri-based-entry-points
Next Steps:
For Partial URL in URL column /Search/userInput :
Add App Server Agent Configuration.
Set the following .NET Agent Configuration properties to false:
aspdotnet-core-naming-controlleraction
aspdotnet-core-naming-controllerarea
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 :
Navigate to Configuration > Instrumentation > Transaction Detection in your Application.
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.
Rule Configuration:
Matching condition: URL is not empty
Custom Expression: ${HttpRequest.Scheme}://${HttpRequest.Host}${HttpRequest.Path}${HttpRequest.QueryString}
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:
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.
... View more