lib/instana/instrumentation/aws_sdk_s3.rb in instana-1.200.0.pre1 vs lib/instana/instrumentation/aws_sdk_s3.rb in instana-1.200.0
- old
+ new
@@ -8,10 +8,10 @@
def call(context)
s3_tags = {
op: format_operation(context.operation_name),
bucket: bucket_name_from(context),
key: key_from_context(context)
- }.compact
+ }.reject { |_, v| v.nil? }
::Instana.tracer.trace(:s3, {s3: s3_tags}) { @handler.call(context) }
end
private