mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-14 20:01:28 +00:00
feat: sort spans with startTime
or spanId
in a segment (#100)
This commit is contained in:
9
src/types/trace.d.ts
vendored
9
src/types/trace.d.ts
vendored
@@ -46,8 +46,15 @@ export interface Span {
|
||||
children?: Span[];
|
||||
tags?: Array<Map<string, string>>;
|
||||
logs?: log[];
|
||||
parentSegmentId?: string;
|
||||
refs?: Ref[];
|
||||
}
|
||||
|
||||
export type Ref = {
|
||||
type: string;
|
||||
parentSegmentId: string;
|
||||
parentSpanId: number;
|
||||
traceId: string;
|
||||
};
|
||||
export interface log {
|
||||
time: number;
|
||||
data: Map<string, string>;
|
||||
|
Reference in New Issue
Block a user