Span.
One timed operation inside a trace, with its attributes and its outcome
Figure 1Spanspecified
- kind
- fact
- scope
- platform
- key
- its id
- store
- lake:landed
- family
- observability
Fields#
| field | type | required | note |
|---|---|---|---|
span_id | hash | yes | |
context | TelemetryContext | yes | |
name | text | yes | the operation, from a closed list per role |
role | text | yes | |
started_at | time | yes | |
duration | duration | yes | |
outcome | one of ok | refused | failed | timed-out | yes | |
attributes | {text:text} | yes | from 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.