RunTraceSpan

One OTEL span the run's workers or OpenTofu captured.
  • traceId
    Hex trace ID. A run executed twice has one trace per execution.
  • spanId
    Hex span ID.
  • parentSpanId
    Hex ID of the parent span. Null for a root span.
  • scope
    The instrumentation scope that produced the span, such as "github.com/opentofu/opentofu/internal/tofu".
  • startTime
    Unix timestamp of when the span started.
  • durationSeconds
  • statusMessage
    The message recorded with an ERROR status. Null when there is none.
  • childCount
    How many spans name this one as their parent. Drill into them with `parentSpanId`.
  • attributes
    The span's attributes as a JSON object.
  • events
    The span's events as a JSON array, such as the exception event that holds the full error message of a failed operation.