dynamo-autoscale 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +6 -0
- data/config/environment/common.rb +1 -0
- data/lib/dynamo-autoscale/rule.rb +1 -0
- data/lib/dynamo-autoscale/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG
CHANGED
@@ -115,6 +115,7 @@ module DynamoAutoscale
|
|
115
115
|
|
116
116
|
if @opts[:times].nil? or @count[table.name] == @opts[:times]
|
117
117
|
@count[table.name] = 0
|
118
|
+
logger.info "[rule] Triggered rule: #{self.to_english}"
|
118
119
|
|
119
120
|
if scale = @opts[:scale]
|
120
121
|
new_val = table.send("last_#{scale[:on]}_for", @metric) * scale[:by]
|