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

Spike Arrest Policy : Variables are not getting updated

Hi Team,

We have a spike arrest policy. Rate is set at 10pm.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <SpikeArrest async="false" continueOnError="false" enabled="true" name="test_SpikeArrest"> <DisplayName>test_SpikeArrest</DisplayName> <FaultRules/> <Properties/> <Rate>10pm</Rate> </SpikeArrest>

However, when we check the below mentioned variables in trace.These values are not getting updated :

ratelimit.test_SpikeArrest.available.count

ratelimit.test_SpikeArrest.used.count

For first success , it will get updated as :

ratelimit.test_SpikeArrest.available.count : 9

ratelimit.test_SpikeArrest.used.count : 1

Then again, it will reset with in 6 secs as mentioned below :

ratelimit.test_SpikeArrest.available.count : 10

ratelimit.test_SpikeArrest.used.count : 0

Please suggest if this the expected behaviour.

Solved Solved
0 7 690
1 ACCEPTED SOLUTION

Hi @Neetu Garg,

I spoke to the engineering team and these variables are not useful when applied to the Spike Arrest policy. I will remove them from the doc.

Stephen

View solution in original post

7 REPLIES 7