Skip to main content

start_span

Method
This is a method of the Tracer class in the trace module.
Start a span in a trace.

Signature

def start_span(&self, trace_id: &str, name: impl Into<String>, kind: SpanKind) -> Option<String>

Parameters

trace_id
&str
required
No description available.
name
impl Into<String>
required
No description available.
kind
SpanKind
required
No description available.

Returns

Returns
Option<String>
The result of the operation.