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-contextSpan context.
parent-span-idstringSpan parent id.
span-kindspan-kindSpan kind.
namestringSpan name.
start-timedatetimeSpan start time.
end-timedatetimeSpan end time.
attributeslist​<key-value>Span attributes.
eventslist​<event>Span events.
linkslist​<link>Span Links.
statusstatusSpan status.
instrumentation-scopeinstrumentation-scopeInstrumentation scope that produced this span.
dropped-attributesu32Number of attributes dropped by the span due to limits being reached.
dropped-eventsu32Number of events dropped by the span due to limits being reached.
dropped-linksu32Number of links dropped by the span due to limits being reached.