ui-router-otel / SpanRecord
Interface: SpanRecord
Defined in: shared/router-events/src/event-schema.ts:238
A span from a tracer, in a shape that names no tracing library. Times are epoch milliseconds, so a span's offset on the event clock is startTime - timeOrigin.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
attributes? | Record<string, SpanAttributeValue> | - | shared/router-events/src/event-schema.ts:248 |
endTime? | number | Absent while the span is still running. | shared/router-events/src/event-schema.ts:246 |
name | string | - | shared/router-events/src/event-schema.ts:243 |
parentSpanId? | string | Absent on the root of a trace. | shared/router-events/src/event-schema.ts:242 |
spanId | string | - | shared/router-events/src/event-schema.ts:240 |
startTime | number | - | shared/router-events/src/event-schema.ts:244 |
status? | "error" | "unset" | "ok" | - | shared/router-events/src/event-schema.ts:247 |
traceId | string | - | shared/router-events/src/event-schema.ts:239 |