proto/trace/v1/trace.pb library

Classes

ResourceSpans
A collection of ScopeSpans from a Resource.
ScopeSpans
A collection of Spans produced by an InstrumentationScope.
Span
A Span represents a single operation performed by a single component of the system.
Span_Event
Event is a time-stamped annotation of the span, consisting of user-supplied text description and key-value pairs.
A pointer from the current span to another span in the same trace or in a different trace. For example, this can be used in batching operations, where a single batch handler processes multiple requests from different traces or when the handler receives a request from a different project.
Span_SpanKind
SpanKind is the type of span. Can be used to specify additional relationships between spans in addition to a parent/child relationship.
SpanFlags
SpanFlags represents constants used to interpret the Span.flags field, which is protobuf 'fixed32' type and is to be used as bit-fields. Each non-zero value defined in this enum is a bit-mask. To extract the bit-field, for example, use an expression like:
Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
Status_StatusCode
For the semantics of status codes see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#set-status
TracesData
TracesData represents the traces data that can be stored in a persistent storage, OR can be embedded by other protocols that transfer OTLP traces data but do not implement the OTLP protocol.