Class: Datadog::Tracing::Contrib::Aws::Service::S3

Inherits:
Base
  • Object
show all
Defined in:
lib/datadog/tracing/contrib/aws/service/s3.rb

Overview

S3 tag handlers.

Instance Method Summary collapse

Instance Method Details

#add_tags(span, params) ⇒ Object



13
14
15
16
# File 'lib/datadog/tracing/contrib/aws/service/s3.rb', line 13

def add_tags(span, params)
  bucket_name = params[:bucket]
  span.set_tag(Aws::Ext::TAG_BUCKET_NAME, bucket_name)
end