Apigee X SpikeArrest-Flow variables not getting populated when UseEffectiveCount is set to "true"

Hello All,

                Working with SpikeArrest policy in ApigeeX , when UseEffectiveCount is set to "true", am not able to see the flow variable like 

ratelimit.{PolicyName}.allowed.count, ratelimit.{PolicyName}.failed etc..

in the debug session.

But when I set the UseEffectiveCount to false I get to see all the flow variables..

Am not sure what am missing here..Any guidance will be appreciated.

Thanks

 

0 3 466
3 REPLIES 3

Hello Apigee Team,

                                    When I set "UseEffectiveCount" to "true" in SpikeArrest policy, am unable to get the flow variables .

Hence my Fault Handling fails since "ratelimit.{PolicyName}.failed" flow variable's value is not set..(to true) when it fails.

Can someone guide me on whats missing here and how this can be handled .

Thanks

Hi DigitalD,

I can verify that I see the same behavior -- SpikeArrest policy variables are not shown in Debug, but the policy seems to block traffic correctly.

I will let you know if I find out anything from the Apigee engineering team.

Thanks @mdunker for taking time to validate this..

Yes the Spike Arrest Policy does block the traffic but my error handling fails because the variables are not set.

This happens only when "UseEffectiveCount" to "true" .. If set to "false" I get all the variables populated.

Any feedback from the Apigee engineering team will be very helpful ..

Thanks..