lib/ddtrace/profiling/trace_identifiers/ddtrace.rb in ddtrace-0.52.0 vs lib/ddtrace/profiling/trace_identifiers/ddtrace.rb in ddtrace-0.53.0

- old
+ new

@@ -31,10 +31,10 @@ # Resources MUST NOT include personal identifiable information (PII); this should not be the case with # ddtrace integrations, but worth mentioning just in case :) def maybe_extract_resource(root_span) return unless root_span - root_span.resource_container if root_span.span_type == Datadog::Ext::HTTP::TYPE_INBOUND + root_span.resource if root_span.span_type == Datadog::Ext::HTTP::TYPE_INBOUND end end end end end