17 Apr 2024 01:04 PM - last edited on 10 May 2024 03:49 PM by Michal_Gebacki
Hello Everyone,
Can someone please let me know if this is possible to setup alerting or to create metric to monitor the xhr requests which is taking lot of time to complete the request. For example, in the screenshot:
I was trying to create a metric of this xhr request which is taking more than 60 seconds so that I can see that information on data explorer or in dashboard, but I have found that load time is not supported as a metric and also, I tried the request option, but their filter option is not working.
Regards,
Parkash
Solved! Go to Solution.
17 Apr 2024 03:46 PM
No, I'm not aware of a way to do this. Can you use the performance thresholds to alert on a specific event taking longer than expected instead or are there other resources that take longer on the event you are interested in that would also trigger it?
23 Apr 2024 01:58 PM
Hi @HannahM ,
I can understand that performance threshold can be used for the specific events in case of performance issues, but as you know that an event consists of multiple actions such as load, xhr or custom action and in my case only one xhr (sso) request sometime takes longer time to complete the request and for this I don't have visibility on dashboard or I also not able to create a metric for this. That is why I want to know the feasibility of the solution. If you could suggest any solution or alternative that would be great.
Regards,
parkash
25 Apr 2024 11:32 AM
No, AFAIK there are not options to alert on a just 1 XHR Action for an event. Do the loads and other actions take longer than the XHR? Otherwise, could you use total duration as that is a summation rather than an average?
14 May 2024 12:25 PM
Hi @HannahM Yes, It has been fixed, I have setup the Wait for specific element to appear on the page and setup the duration of 40 seconds and added the locator. This helped us to identify the xhr request which is taking long time on waterfall and the option that you suggested for the total duration is also helpful in our case to identify the actions which are taking long time to load.
Regards,
Parkash