as-combined-metrics 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/lib/as-combined-metrics/aws.rb +3 -3
- data/lib/as-combined-metrics.rb +1 -1
- 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: 87337b3355528621a41b176c53446558e81ed5b5
|
4
|
+
data.tar.gz: a50a19f111920635d6a98c3533ec073af3cbc9cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5a47ede4391c655c1c96f2c3f70bb24df963794c55b99c4d4e7ae132aee9af3273b91d89c496cd25058a7236a77f323dc709d9114803440b0def6b69fd1be07
|
7
|
+
data.tar.gz: a5c4cddc166fdcdcc264e2c41ccebae77342b81b0dbae4f628f2bd658d1f42582ea7d2867196005e845f134a780ba36cad1c781a8aadefdbf727104799385d49
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
AWS Autoscale Combined Metrics
|
2
2
|
==============================
|
3
3
|
|
4
|
-
Beta - Not Production Ready!
|
5
|
-
|
6
4
|
AWS currently (July 2015) does not evalute other policies during a cooldown peroid
|
7
5
|
|
8
6
|
meanning if CPU policy was triggered and scaling acitivty happened the other policies for Network / Memory etc.. would not be evaluated until the cooldown period for the first policy passed
|
@@ -81,6 +79,10 @@ options:
|
|
81
79
|
# Default: 30
|
82
80
|
````
|
83
81
|
|
82
|
+
you may pass ---scalein-only or --scaleout-only to have this publish only scalein / scale out metric
|
83
|
+
|
84
|
+
if you choose --dryrun it will NOT publish to cloudwatch
|
85
|
+
|
84
86
|
Required privileges
|
85
87
|
-------------------
|
86
88
|
|
@@ -31,9 +31,9 @@ module AsCombinedMetrics::Cli::Aws
|
|
31
31
|
if ENV['STACK_NAME']
|
32
32
|
logger.info { set_color "STACK_NAME Env variable was found [ #{ENV['STACK_NAME']} ]", :cyan }
|
33
33
|
@stack_name = ENV['STACK_NAME']
|
34
|
-
elsif @config[
|
35
|
-
logger.info { set_color "STACK_NAME was found in the config file #{@config[
|
36
|
-
@stack_name = @config[
|
34
|
+
elsif @config[:cloudformation][:stack_name]
|
35
|
+
logger.info { set_color "STACK_NAME was found in the config file #{@config[:cloudformation][:stack_name]}", :cyan }
|
36
|
+
@stack_name = @config[:cloudformation][:stack_name]
|
37
37
|
else
|
38
38
|
logger.fatal { set_color "verify_stack_name_env Env variable STACK_NAME was not found or does not have a value, exiting now...", :red }
|
39
39
|
exit 1
|
data/lib/as-combined-metrics.rb
CHANGED