Struct rustracing_jaeger::thrift::jaeger::Span[][src]

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>,
}

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.

tags: Vec<Tag>

Tag list.

logs: Vec<Log>

Log list.

Trait Implementations

impl Clone for Span[src]

impl Debug for Span[src]

impl<'a> From<&'a FinishedSpan<SpanContextState>> for Span[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,