A collection of key/value pairs. Note, global attributes like server name can be set using the resource API. Attribute keys MUST be unique.
OptionaldroppedThe number of attributes that were discarded. Attributes can be discarded because their keys are too long or because there are too many attributes. If this value is 0, then no attributes were dropped.
OptionaldroppedThe number of dropped events. If the value is 0, then no events were dropped.
OptionaldroppedThe number of dropped links. If the value is 0, then no links were dropped.
The end time of the span. On the client side, this is the time kept by the local machine where the span execution ends. Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
OptionaleventsA collection of Event items.
Distinguishes between spans generated in a particular context. For example, two spans with
the same name may be distinguished using CLIENT (caller) and SERVER (callee) to identify
queueing latency associated with the span.
OptionallinksA collection of Links, which are references from this span to a span in the same or different trace.
A description of the span's operation. For example, the name can be a qualified method name or a file name and a line number where the operation is called. This field is semantically required to be set to non-empty string.
OptionalparentThe span_id of this span's parent span. If this is a root span, then this field must be empty.
The ID is an 8-byte array.
A unique identifier for a span within a trace, assigned when the span is created. The ID is an 8-byte array. This field is required.
The start time of the span. On the client side, this is the time kept by the local machine where the span execution starts. Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
OptionalstatusAn optional final status for this span. When Status isn't set, it means span's status code is unset.
A unique identifier for a trace. All spans from the same trace share the same trace_id.
The ID is a 16-byte array. This field is required.
A Span represents a single operation performed by a single component of the system.