One OTEL span the run's workers or OpenTofu captured.
- traceIdHex trace ID. A run executed twice has one trace per execution.
- spanIdHex span ID.
- parentSpanIdHex ID of the parent span. Null for a root span.
- stateRunStateThe run state the span was captured in. UNKNOWN for a span captured outside a traced state.
- typeRunTraceSpanTypeWhat the span describes, when Spacelift classified it. Null for OpenTofu internals.
- name
- scopeThe instrumentation scope that produced the span, such as "github.com/opentofu/opentofu/internal/tofu".
- startTimeUnix timestamp of when the span started.
- durationSeconds
- statusRunTraceSpanStatus
- statusMessageThe message recorded with an ERROR status. Null when there is none.
- childCountHow many spans name this one as their parent. Drill into them with `parentSpanId`.
- attributesThe span's attributes as a JSON object.
- eventsThe span's events as a JSON array, such as the exception event that holds the full error message of a failed operation.