[][src]Struct opentelemetry::exporter::trace::SpanData

pub struct SpanData {
    pub span_context: SpanContext,
    pub parent_span_id: SpanId,
    pub span_kind: SpanKind,
    pub name: String,
    pub start_time: SystemTime,
    pub end_time: SystemTime,
    pub attributes: EvictedHashMap,
    pub message_events: EvictedQueue<Event>,
    pub links: EvictedQueue<Link>,
    pub status_code: StatusCode,
    pub status_message: String,
    pub resource: Arc<Resource>,
}

SpanData contains all the information collected by a Span and can be used by exporters as a standard input.

Fields

span_context: SpanContext

Exportable SpanContext

parent_span_id: SpanId

Span parent id

span_kind: SpanKind

Span kind

name: String

Span name

start_time: SystemTime

Span start time

end_time: SystemTime

Span end time

attributes: EvictedHashMap

Span attributes

message_events: EvictedQueue<Event>

Span Message events

links: EvictedQueue<Link>

Span Links

status_code: StatusCode

Span status code

status_message: String

Span status message

resource: Arc<Resource>

Resource contains attributes representing an entity that produced this span.

Trait Implementations

impl Clone for SpanData[src]

impl Debug for SpanData[src]

impl PartialEq<SpanData> for SpanData[src]

impl StructuralPartialEq for SpanData[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> FutureExt 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>,