elasticDynamoDb 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/elasticDynamoDb.rb +1 -1
- data/lib/elasticDynamoDb/cloudwatch.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7a4bf8b1c7c55935010ada407352b274a4d17ba
|
4
|
+
data.tar.gz: e6d89884ed649a0d8e579f88cf34d7ae30d578c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fd0682d41870756a21424f9f04acc92be6c40047f863680b9a5b082fda44dda9ba894b408ddd086a68bbab16e7f320c2738b29b660427245d982262431985d7
|
7
|
+
data.tar.gz: c901e46e1ff3faf4fcb50c20ea27696236334d1d92cfe1d9b96fdb224d010c7eae0455ce9ae5957b3eb52adbbcd1650f9f31588f656b5ee2a46142777b50b497
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
a wrapper tool to help with large planned traffic spike in combination with [dynamic-dynamodb](https://github.com/sebdah/dynamic-dynamodb)
|
4
4
|
|
5
|
-
now supporting resetting CloudWatch alarms on table updates
|
5
|
+
now supporting resetting CloudWatch alarms on table updates (for 5 minutes instead of the default 60min)
|
6
6
|
|
7
7
|
|
8
8
|
[dynamic-dynamodb](https://github.com/sebdah/dynamic-dynamodb) tool is great for autoscaling but it has a few limitation:
|
data/lib/elasticDynamoDb.rb
CHANGED
@@ -26,10 +26,10 @@ module ElasticDynamoDb::Cli::CloudWatch
|
|
26
26
|
value: table_options[:table_name]
|
27
27
|
}
|
28
28
|
],
|
29
|
-
period:
|
29
|
+
period: 300,
|
30
30
|
unit: "Count",
|
31
31
|
threshold: threshold,
|
32
|
-
evaluation_periods:
|
32
|
+
evaluation_periods: 1,
|
33
33
|
comparison_operator: "GreaterThanOrEqualToThreshold"
|
34
34
|
}
|
35
35
|
self.cw.put_metric_alarm(cw_options)
|