dynamo-autoscale 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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]
|