Record

span-data

The data associated with a span.

record span-data {
  span-context: span-context,
  parent-span-id: string,
  span-kind: span-kind,
  name: string,
  start-time: datetime,
  end-time: datetime,
  attributes: list​<key-value>,
  events: list​<event>,
  links: list​<link>,
  status: status,
  instrumentation-scope: instrumentation-scope,
  dropped-attributes: u32,
  dropped-events: u32,
  dropped-links: u32,
}

Fields

NameTypeDescription
span-contextspan-context

Span context.

parent-span-idstring

Span parent id.

span-kindspan-kind

Span kind.

namestring

Span name.

start-timedatetime

Span start time.

end-timedatetime

Span end time.

attributeslist​<key-value>

Span attributes.

eventslist​<event>

Span events.

linkslist​<link>

Span Links.

statusstatus

Span status.

instrumentation-scopeinstrumentation-scope

Instrumentation scope that produced this span.

dropped-attributesu32

Number of attributes dropped by the span due to limits being reached.

dropped-eventsu32

Number of events dropped by the span due to limits being reached.

dropped-linksu32

Number of links dropped by the span due to limits being reached.