apigee Onprem spike arrest warning rather reject

We have a requirement like below.

1) create a warning threshold like 100 per minute and if it exceeds an email notification needs to be sent and proxy should continue accepting requests.

2) Create another threshold 200 per minute and if it exceeds the request needs to get an error

The second on can be achieved using spike arrest policy. How will I implement the 1st one mentioned above?

I cant see alerts since we are using Apigee onprem

0 1 118
1 REPLY 1

Not applicable

for the first one, you can set the continue on error to true in the spike arrest policy and after the policy execution you will find the flow variable of remaining counts left. Using that variable you can trigger a service callout which will be able to trigger an email.

You need to findout the email option. Apigee doesn't have any thing like that to trigger mail.