OtelSpan
Datalayer Core / OtelSpan
Interface: OtelSpan
Defined in: src/otel/types.ts:13
A single span in a trace.
Properties
attributes?
optionalattributes?:Record<string,unknown>
Defined in: src/otel/types.ts:26
children?
optionalchildren?:OtelSpan[]
Defined in: src/otel/types.ts:30
Nested children (computed client-side from parent_span_id).
depth?
optionaldepth?:number
Defined in: src/otel/types.ts:32
Depth in a span tree (computed client-side).
duration_ms
duration_ms:
number
Defined in: src/otel/types.ts:22
end_time
end_time:
string
Defined in: src/otel/types.ts:21
events?
optionalevents?:OtelSpanEvent[]
Defined in: src/otel/types.ts:27
kind
kind:
string
Defined in: src/otel/types.ts:19
links?
optionallinks?:OtelSpanLink[]
Defined in: src/otel/types.ts:28
otel_scope_name?
optionalotel_scope_name?:string
Defined in: src/otel/types.ts:25
parent_span_id?
optionalparent_span_id?:string
Defined in: src/otel/types.ts:16
service_name
service_name:
string
Defined in: src/otel/types.ts:18
span_id
span_id:
string
Defined in: src/otel/types.ts:15
span_name
span_name:
string
Defined in: src/otel/types.ts:17
start_time
start_time:
string
Defined in: src/otel/types.ts:20
status_code?
optionalstatus_code?:string
Defined in: src/otel/types.ts:23
status_message?
optionalstatus_message?:string
Defined in: src/otel/types.ts:24
trace_id
trace_id:
string
Defined in: src/otel/types.ts:14