Sha256: f56aeb4837f7c08a599df80a3399cf349666e2aa3e199a362dfb382439d8af29
Contents?: true
Size: 432 Bytes
Versions: 44
Compression:
Stored size: 432 Bytes
Contents
# (c) Copyright IBM Corp. 2021 # (c) Copyright Instana Inc. 2021 module Instana module Activators class AwsS3 < Activator def can_instrument? defined?(::Aws::S3::Client) && ::Aws::S3::Client.respond_to?(:add_plugin) end def instrument require 'instana/instrumentation/aws_sdk_s3' ::Aws::S3::Client.add_plugin(Instana::Instrumentation::S3) true end end end end
Version data entries
44 entries across 44 versions & 1 rubygems