class Instana::Activators::AwsDynamoDB
Public Instance Methods
can_instrument?()
click to toggle source
# File lib/instana/activators/aws_sdk_dynamodb.rb, line 7 def can_instrument? defined?(::Aws::DynamoDB::Client) && ::Aws::DynamoDB::Client.respond_to?(:add_plugin) end
instrument()
click to toggle source
# File lib/instana/activators/aws_sdk_dynamodb.rb, line 11 def instrument require 'instana/instrumentation/aws_sdk_dynamodb' ::Aws::DynamoDB::Client.add_plugin(Instana::Instrumentation::DynamoDB) true end