Sha256: c95e5dcd7c44eca06a319e08a3a997c7edece6d4ce8c9c5626c7cb22a7011e55

Contents?: true

Size: 392 Bytes

Versions: 16

Compression:

Stored size: 392 Bytes

Contents

# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2021

module Instana
  module Activators
    class AwsSdkSqs < Activator
      def can_instrument?
        defined?(Aws::SQS::Client)
      end

      def instrument
        require 'instana/instrumentation/aws_sdk_sqs'

        ::Aws::SQS::Client.add_plugin(Instana::Instrumentation::SQS)

        true
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
instana-1.200.0.pre1 lib/instana/activators/aws_sdk_sqs.rb
instana-1.199.6 lib/instana/activators/aws_sdk_sqs.rb
instana-1.199.5 lib/instana/activators/aws_sdk_sqs.rb
instana-1.199.4 lib/instana/activators/aws_sdk_sqs.rb
instana-1.199.3 lib/instana/activators/aws_sdk_sqs.rb
instana-1.199.2 lib/instana/activators/aws_sdk_sqs.rb
instana-1.199.1 lib/instana/activators/aws_sdk_sqs.rb
instana-1.199.0 lib/instana/activators/aws_sdk_sqs.rb
instana-1.198.0 lib/instana/activators/aws_sdk_sqs.rb
instana-1.198.0.pre1 lib/instana/activators/aws_sdk_sqs.rb
instana-1.197.0 lib/instana/activators/aws_sdk_sqs.rb
instana-1.197.0.pre2 lib/instana/activators/aws_sdk_sqs.rb
instana-1.197.0.pre1 lib/instana/activators/aws_sdk_sqs.rb
instana-1.195.4 lib/instana/activators/aws_sdk_sqs.rb
instana-1.195.3 lib/instana/activators/aws_sdk_sqs.rb
instana-1.195.2 lib/instana/activators/aws_sdk_sqs.rb