I have configured spike arrest policy in API proxy deployed in Apigee Hybrid environment.
I have configured to allow only 1ps (1 request per sec) but I can see Spike arrest is not rejecting the calls even though calls are exceeding this number.
Below is the Spike Arrest policy -
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <SpikeArrest async="false" continueOnError="false" enabled="true" name="SA-SpikeArrest"> <DisplayName>SA-SpikeArrest</DisplayName> <Properties/> <Identifier ref="client_id"/> <Rate ref="flow.spikearrest.limit"/> <UseEffectiveCount>true</UseEffectiveCount> </SpikeArrest>
I can see these numbers exceeding in variables in trace -
allowed.count=1 used.count=3 exceed.count=2
Is there anything I am missing here?