Method: OpenTelemetry::SDK::Trace::Tracer#start_root_span

Defined in:
lib/opentelemetry/sdk/trace/tracer.rb

#start_root_span(name, attributes: nil, links: nil, start_timestamp: nil, kind: nil) ⇒ Object



26
27
28
# File 'lib/opentelemetry/sdk/trace/tracer.rb', line 26

def start_root_span(name, attributes: nil, links: nil, start_timestamp: nil, kind: nil)
  start_span(name, with_parent: Context.empty, attributes: attributes, links: links, start_timestamp: start_timestamp, kind: kind)
end