bin/metrics-ec2-count.rb in sensu-plugins-aws-0.0.2 vs bin/metrics-ec2-count.rb in sensu-plugins-aws-0.0.3
- old
+ new
@@ -25,10 +25,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 EC2Metrics < Sensu::Plugin::Metric::CLI::Graphite
option :scheme,
description: 'Metric naming scheme, text to prepend to metric',
short: '-s SCHEME',