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! Go to 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.