Header menu logo Nao

Span Type

A single span in a distributed trace

Record fields

Record Field Description

Attributes

Full Usage: Attributes

Field type: Map<string, string>

Key-value attributes

Field type: Map<string, string>

EndTime

Full Usage: EndTime

Field type: DateTimeOffset option

When the span ended (None if still running)

Field type: DateTimeOffset option

Events

Full Usage: Events

Field type: SpanEvent list

Events that occurred during this span

Field type: SpanEvent list

Id

Full Usage: Id

Field type: SpanId

Unique span identifier

Field type: SpanId

OperationName

Full Usage: OperationName

Field type: string

Operation name

Field type: string

ParentSpanId

Full Usage: ParentSpanId

Field type: SpanId option

Parent span (None for root spans)

Field type: SpanId option

StartTime

Full Usage: StartTime

Field type: DateTimeOffset

When the span started

Field type: DateTimeOffset

Status

Full Usage: Status

Field type: SpanStatus

Status of the span

Field type: SpanStatus

TraceId

Full Usage: TraceId

Field type: TraceId

Parent trace

Field type: TraceId

Instance members

Instance member Description

this.Duration

Full Usage: this.Duration

Returns: TimeSpan
Returns: TimeSpan

Type something to start searching.