uni-flow 公开 API(中文注解) / SpanContext
Interface: SpanContext
Defined in: layer4/types.ts:100
一次 span 的上下文(id、trace、名称与属性)。
Properties
attributes
attributes:
Record<string,string>
Defined in: layer4/types.ts:106
name
name:
string
Defined in: layer4/types.ts:103
parentSpanId?
optionalparentSpanId?:string
Defined in: layer4/types.ts:104
spanId
spanId:
string
Defined in: layer4/types.ts:101
startTime
startTime:
number
Defined in: layer4/types.ts:105
traceId
traceId:
string
Defined in: layer4/types.ts:102