Class: Instana::Instrumentation::S3::Handler
- Inherits:
-
Seahorse::Client::Handler
- Object
- Seahorse::Client::Handler
- Instana::Instrumentation::S3::Handler
- Defined in:
- lib/instana/instrumentation/aws_sdk_s3.rb
Instance Method Summary collapse
Instance Method Details
#call(context) ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/instana/instrumentation/aws_sdk_s3.rb', line 8 def call(context) = { op: format_operation(context.operation_name), bucket: bucket_name_from(context), key: key_from_context(context) }.reject { |_, v| v.nil? } ::Instana.tracer.in_span(:s3, attributes: {s3: }) { @handler.call(context) } end |