bin/metrics-sqs.rb in sensu-plugins-aws-0.0.2 vs bin/metrics-sqs.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 SQSMetrics < Sensu::Plugin::Metric::CLI::Graphite
option :queue,
description: 'Name of the queue',
short: '-q QUEUE',