Struct rustracing_jaeger::thrift::jaeger::Span
source · pub struct Span {
pub trace_id_low: i64,
pub trace_id_high: i64,
pub span_id: i64,
pub parent_span_id: i64,
pub operation_name: String,
pub references: Vec<SpanRef>,
pub flags: i32,
pub start_time: i64,
pub duration: i64,
pub tags: Vec<Tag>,
pub logs: Vec<Log>,
}
Expand description
Span
represents a named unit of work performed by a service.
Fields§
§trace_id_low: i64
The least significant 64 bits of a traceID.
trace_id_high: i64
The most significant 64 bits of a traceID; 0 when only 64bit IDs are used.
span_id: i64
Unique span id (only unique within a given trace).
parent_span_id: i64
Since nearly all spans will have parents spans, ChildOf
refs do not have to be explicit.
Should be 0
if the current span is a root span.
operation_name: String
The name of operation.
references: Vec<SpanRef>
Causal references to other spans.
flags: i32
A bit field used to propagate sampling decisions.
1
signifies a SAMPLED span, 2
signifies a DEBUG span.
start_time: i64
Start time of this span.
duration: i64
Duration of this span.
Tag list.
logs: Vec<Log>
Log list.
Trait Implementations§
source§impl<'a> From<&'a FinishedSpan<SpanContextState>> for Span
impl<'a> From<&'a FinishedSpan<SpanContextState>> for Span
source§fn from(f: &'a FinishedSpan) -> Self
fn from(f: &'a FinishedSpan) -> Self
Converts to this type from the input type.