lib/datadog/tracing/contrib/faraday/middleware.rb in ddtrace-1.14.0 vs lib/datadog/tracing/contrib/faraday/middleware.rb in ddtrace-1.15.0

- old
+ new

@@ -45,9 +45,14 @@ Tracing::Metadata::Ext::TAG_PEER_SERVICE, options[:peer_service] ) end + # Tag original global service name if not used + if span.service != Datadog.configuration.service + span.set_tag(Tracing::Contrib::Ext::Metadata::TAG_BASE_SERVICE, Datadog.configuration.service) + end + span.set_tag(Tracing::Metadata::Ext::TAG_KIND, Tracing::Metadata::Ext::SpanKind::TAG_CLIENT) span.set_tag(Tracing::Metadata::Ext::TAG_COMPONENT, Ext::TAG_COMPONENT) span.set_tag(Tracing::Metadata::Ext::TAG_OPERATION, Ext::TAG_OPERATION_REQUEST)