Send a notification based on certain number of error calls

Not applicable

Hi,

I have a very peculiar requirement. I want some sort of notification at my end, if I am getting an error response say 5 times. I have created a proxy where I have added policies to the response flow in case there is an error. This is a fallback mechanism in case the original call has failed in the request.

However, I would now want that if the ServiceCallout policy has failed for 5 times in the response, then I want some sort of notification on my end, saying the response flow has failed for n number for times.

Can someone help me on how to achieve this?

0 3 239
3 REPLIES 3

Did you get a chance to play with API Health ?

Im afraid I heard that term for the first time. How can that concept help me out @Anil Sagar?

Not applicable

Hi,

API Health is a monitoring tool, where you can configure your probes and get notified when there are failures and if the response time exceeds.

To get started, please go through the API Health documentation

http://apigee.com/docs/analytics-services/apihealth/api-health-overview

If case if you need any help, post your queries in API Health community

https://community.apigee.com/spaces/68/index.html

Or, write to us directly at apihealth@apigee.com

API Health product link https://health.apigee.com

Thanks,

Hari