Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Notification

Not applicable

Hi,

I am running a private instance of apigee in my organization. I have set up io timeout and connect timeouts in my target and custom fault handlers for 5xx responses.Is it possible to set up an alert system to notify appropriate teams whenever these faults were triggered in the workflow while attempting to work with their target servers ?

My thoughts

Today, the only option that comes to my mind is to either poll the Postgres facts and for every occurrence on response status between the criteria, we could create a simple application that would send out an email based on the record information to the appropriate team based on basepath match and response code match.

Our partners recently encountered few issues in these and I would like to put a proactive alert system in place to address these before a lot of such failures.

Solved Solved
1 6 227
1 ACCEPTED SOLUTION

@Srivatssan Srinivasan , If your application can expose a rest api which will trigger the email, You can implement a simple service callout which will call above API on error flow in case of 5xx responses.

In Apigee Edge error flow, You can actually avoid multiple emails incase of frequent 5xx without using a different system. Just, Set a value in cache using cache policies if you see the 5xx first time & use that value retrieved using cache policies not to trigger service callout for a while.

Hope it helps. Keep us posted moving forward if any.

View solution in original post

6 REPLIES 6
Top Solution Authors