Scale Intelligence■ Docs
Docs / The model / Span

Span.

One timed operation inside a trace, with its attributes and its outcome

Figure 1Spanspecified
SPANfact at platform scopespan_idhashcontextTelemetryContextthe operation, from a closed list per rolenametextroletextstarted_attimedurationdurationoutcomeenum:ok|refused|failed|timed-outfrom the attribute allow-list only; never a secret valueattributes{text:text}TELEMETRYCONTEXTthrough context
Span is a fact at platform scope. The drawing shows its fields and the objects that they point at.
kind
fact
scope
platform
key
its id
store
lake:landed
family
observability

Fields#

fieldtyperequirednote
span_idhashyes
contextTelemetryContextyes
nametextyesthe operation, from a closed list per role
roletextyes
started_attimeyes
durationdurationyes
outcomeone of ok | refused | failed | timed-outyes
attributes{text:text}yesfrom the attribute allow-list only; never a secret value

Routes that use it#

No route takes or returns Span directly. The record holds it, and the objects that point at it reach it.