bin/metrics-elasticache.rb in sensu-plugins-aws-0.0.2 vs bin/metrics-elasticache.rb in sensu-plugins-aws-0.0.3
- old
+ new
@@ -30,10 +30,10 @@
# Released under the same terms as Sensu (the MIT license); see LICENSE
# for details.
#
require 'sensu-plugin/metric/cli'
-require 'aws-sdk'
+require 'aws-sdk-v1'
class ElastiCacheMetrics < Sensu::Plugin::Metric::CLI::Graphite
option :cacheclusterid,
description: 'Name of the Cache Cluster',
short: '-n ELASTICACHE_NAME',