Sign in

    ryota0624/opentelemetry_proto_mbt/opentelemetry/proto/trace/v1 does not have a README file

    ResourceSpans

    pub(all) struct ResourceSpans {
    resource :
    Resource

    scope_spans : Array[ScopeSpans]
    schema_url : String
    }

    ScopeSpans

    impl Eq for ScopeSpans
    impl Show for ScopeSpans
    impl Sized for ScopeSpans
    impl Write for ScopeSpans

    Span

    pub(all) struct Span {
    trace_id : Bytes
    span_id : Bytes
    trace_state : String
    parent_span_id : Bytes
    flags : UInt
    name : String
    kind : Span_SpanKind
    start_time_unix_nano : UInt64
    end_time_unix_nano : UInt64
    attributes : Array[
    KeyValue
    ]
    dropped_attributes_count : UInt
    events : Array[Span_Event]
    dropped_events_count : UInt
    links : Array[Span_Link]
    dropped_links_count : UInt
    status : Status
    }

    impl Default for Span
    impl Eq for Span
    impl Show for Span
    impl ToJson for Span
    impl Sized for Span
    impl Write for Span

    Span::new

    fn Span::new(trace_id : Bytes, span_id : Bytes, trace_state : String, parent_span_id : Bytes, flags : UInt, name : String, kind : Span_SpanKind, start_time_unix_nano : UInt64, end_time_unix_nano : UInt64, attributes : Array[
    KeyValue
    ], dropped_attributes_count : UInt, events : Array[Span_Event], dropped_events_count : UInt, links : Array[Span_Link], dropped_links_count : UInt, status : Status) -> Span

    SpanFlags

    pub(all) enum SpanFlags {
    SPAN_FLAGS_DO_NOT_USE
    SPAN_FLAGS_TRACE_FLAGS_MASK
    SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK
    SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK
    }

    impl Eq for SpanFlags
    impl Show for SpanFlags
    impl ToJson for SpanFlags
    impl Sized for SpanFlags

    SpanFlags::from_enum

    SpanFlags::to_enum

    Span_Event

    pub(all) struct Span_Event {
    time_unix_nano : UInt64
    name : String
    attributes : Array[
    KeyValue
    ]
    dropped_attributes_count : UInt
    }

    impl Eq for Span_Event
    impl Show for Span_Event
    impl Sized for Span_Event
    impl Write for Span_Event

    Span_Event::new

    fn Span_Event::new(time_unix_nano : UInt64, name : String, attributes : Array[
    KeyValue
    ], dropped_attributes_count : UInt) -> Span_Event

    pub(all) struct Span_Link {
    trace_id : Bytes
    span_id : Bytes
    trace_state : String
    attributes : Array[
    KeyValue
    ]
    dropped_attributes_count : UInt
    flags : UInt
    }

    Span_Link::new

    fn Span_Link::new(trace_id : Bytes, span_id : Bytes, trace_state : String, attributes : Array[
    KeyValue
    ], dropped_attributes_count : UInt, flags : UInt) -> Span_Link

    Span_SpanKind

    pub(all) enum Span_SpanKind {
    SPAN_KIND_UNSPECIFIED
    SPAN_KIND_INTERNAL
    SPAN_KIND_SERVER
    SPAN_KIND_CLIENT
    SPAN_KIND_PRODUCER
    SPAN_KIND_CONSUMER
    }

    impl Eq for Span_SpanKind

    Span_SpanKind::from_enum

    Span_SpanKind::to_enum

    Status

    pub(all) struct Status {
    message : String
    code : Status_StatusCode
    }

    impl Default for Status
    impl Eq for Status
    impl Show for Status
    impl ToJson for Status
    impl Sized for Status
    impl Write for Status

    Status::new

    fn Status::new(message : String, code : Status_StatusCode) -> Status

    Status_StatusCode

    pub(all) enum Status_StatusCode {
    STATUS_CODE_UNSET
    STATUS_CODE_OK
    STATUS_CODE_ERROR
    }

    TracesData

    pub(all) struct TracesData {
    resource_spans : Array[ResourceSpans]
    }

    impl Eq for TracesData
    impl Show for TracesData
    impl Sized for TracesData
    impl Write for TracesData

    TracesData::new

    fn TracesData::new(resource_spans : Array[ResourceSpans]) -> TracesData

    Source Files