Struct mick_jaeger::Span [−][src]
pub struct Span { /* fields omitted */ }
Implementations
Creates a new Span
, child of this one, with a specific ID.
Returns the trace ID originally passed when building this span.
Returns the span ID originally passed when building this span.
Adds a “followfrom” relation ship towards another span of (potentially) another trace.
Adds a “followfrom” relation ship towards another span of (potentially) another trace.
Add a new key-value tag to this span.
Add a new key-value tag to this span.
Modifies the start time of this span.
Note: This method can be useful in order to generate a span with a
trace_id
that is only know after the span should have started. To do so, callStartTime::now
when the span should start, create the span once you know the ̀trace_id
, then call this method.
Modifies the start time of this span.
Note: This method can be useful in order to generate a span with a
trace_id
that is only know after the span should have started. To do so, callStartTime::now
when the span should start, create the span once you know the ̀trace_id
, then call this method.