lib/opentelemetry/sdk/trace/tracer.rb in opentelemetry-sdk-1.4.1 vs lib/opentelemetry/sdk/trace/tracer.rb in opentelemetry-sdk-1.5.0
- old
+ new
@@ -27,11 +27,9 @@
start_span(name, with_parent: Context.empty, attributes: attributes, links: links, start_timestamp: start_timestamp, kind: kind)
end
def start_span(name, with_parent: nil, attributes: nil, links: nil, start_timestamp: nil, kind: nil)
with_parent ||= Context.current
- return super(name, with_parent: with_parent, attributes: attributes, links: links, start_timestamp: start_timestamp, kind: kind) if Common::Utilities.untraced?(with_parent)
-
name ||= 'empty'
kind ||= :internal
@tracer_provider.internal_start_span(name, kind, attributes, links, start_timestamp, with_parent, @instrumentation_scope)
end