lib/datadog/tracing/contrib/racecar/event.rb in ddtrace-1.9.0 vs lib/datadog/tracing/contrib/racecar/event.rb in ddtrace-1.10.0

- old
+ new

@@ -1,7 +1,5 @@ -# typed: true - require_relative '../../metadata/ext' require_relative '../active_support/notifications/event' require_relative '../analytics' require_relative 'ext' @@ -35,9 +33,10 @@ def process(span, event, _id, payload) span.service = configuration[:service_name] span.resource = payload[:consumer_class] + span.set_tag(Contrib::Ext::Messaging::TAG_SYSTEM, Ext::TAG_MESSAGING_SYSTEM) span.set_tag(Tracing::Metadata::Ext::TAG_COMPONENT, Ext::TAG_COMPONENT) # Tag as an external peer service span.set_tag(Tracing::Metadata::Ext::TAG_PEER_SERVICE, span.service)