14 Oct 2024 02:15 PM
Hii,
Is there any way to trigger email alert on 3xx response code of api.
thanks
Prithvi
Solved! Go to Solution.
14 Oct 2024 02:28 PM
Hello @Prithvi_Mandal
You can achieve this through:
BR,
Peter
14 Oct 2024 02:33 PM
Hii @Peter_Youssef ,
actually API's has already monitored in our environment. how can we do without synthetic .
Regards
14 Oct 2024 04:08 PM
There is a way you can create multidimensional analysis view and create a metric based on the error.
BR,
Peter.
14 Oct 2024 04:24 PM - edited 14 Oct 2024 04:29 PM
Hello @Prithvi_Mandal
You have another solution to create request attribute as per the attached example and then configure the required alerting
Under custom rule select the request attribute which will be either based on the response code 302 or the http method "Get".
Tip:
KR,
Peter.
14 Oct 2024 02:42 PM
you should do it in 2 steps:
1- Create a calculated metric on your API to count the number of http code 3xx.
2- Create an Event metric based on this Calculated metric and trigger and event when you reach a specific threshold.
BRs,