Skip to main content

SpanStatus

Allowed status values for a Span.

Import

Definition


Values

SpanStatus does not include 'pending'. The 'pending' value is only available on TraceStatus, since a trace can represent an in-progress operation, while individual spans are expected to resolve before being flushed.

Usage


See Also

  • Span — the class that uses SpanStatus
  • Trace — uses TraceStatus, which adds 'pending'