Skip to content

Commit

Permalink
Add minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
jterapin committed Oct 1, 2024
1 parent 4eaafb6 commit f8c6fcc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def span_attributes(context, client_method, service_id, legacy: false)
attrs[OpenTelemetry::SemanticConventions::Trace::CODE_NAMESPACE] = 'Aws::Plugins::AwsSdk' if legacy

attrs[SemanticConventions::Trace::DB_SYSTEM] = 'dynamodb' if service_id == 'DynamoDB'
MessagingHelper.apply_span_attributes(context, attrs, client_method, service_id) if %w[SQS SNS].include?(service_id)
MessagingHelper.apply_span_attributes(context, attrs, client_method, service_id) if MessagingHelper.supported_services.include?(service_id)
end
end

Expand Down

0 comments on commit f8c6fcc

Please sign in to comment.