30 Jun 2022 07:50 PM
Hi Team,
I was trying to separate web application from a global application, I logged in to the global web application and click on myapp link - JavaScript API's is getting triggered.
I am seeing useraction in Dynatrace(global web application) with below details
XHR action: /path/someportal/action/navigations
Target URL: https://www.somedomain.com/path/someportal/action/navigations/#/myapp/reports
I have tried to create rule with web application URL contains "navigations/#/myapp" but the traffic is not getting captured in the web application.
Could anyone face the similar issue? Is there any RFE planned already to capture Target URL as web application detection rule?
Solved! Go to Solution.
30 Jun 2022 09:15 PM
Try to use request attribut for solve this issue
01 Jul 2022 07:58 AM
Detection rules consider the URL you have in your browser. Simply said, it's only for the load actions.
In your case, the XHR action will still be an action in the application determined by rules which apply to the Load action of the page where the XHR is performed from. You should give your XHR action a proper name. If you have trouble with the naming - (if you can't write a good naming rule for that action in particular), you can use the DTRUM API to set the name from your JavaScript code.