TraceData: {
displayName?: string;
endTime?: number;
spans: Record<
string,
{
attributes: Record<string, any>;
displayName: string;
endTime: number;
instrumentationLibrary: {
name: string;
schemaUrl?: string;
version?: string;
};
links?: {
attributes?: Record<string, any>;
context?: {
isRemote?: boolean;
spanId: string;
traceFlags: number;
traceId: string;
};
droppedAttributesCount?: number;
}[];
parentSpanId?: string;
sameProcessAsParentSpan?: { value: boolean };
spanId: string;
spanKind: string;
startTime: number;
status?: { code: number; message?: string };
timeEvents?: {
timeEvent: {
annotation: { attributes: Record<string, any>; description: string };
time: number;
}[];
};
traceId: string;
truncated?: boolean;
},
>;
startTime?: number;
traceId: string;
}
Type declaration
Optional
displayName?: string
Optional
endTime?: number
spans: Record<
string,
{
attributes: Record<string, any>;
displayName: string;
endTime: number;
instrumentationLibrary: {
name: string;
schemaUrl?: string;
version?: string;
};
links?: {
attributes?: Record<string, any>;
context?: {
isRemote?: boolean;
spanId: string;
traceFlags: number;
traceId: string;
};
droppedAttributesCount?: number;
}[];
parentSpanId?: string;
sameProcessAsParentSpan?: { value: boolean };
spanId: string;
spanKind: string;
startTime: number;
status?: { code: number; message?: string };
timeEvents?: {
timeEvent: {
annotation: { attributes: Record<string, any>; description: string };
time: number;
}[];
};
traceId: string;
truncated?: boolean;
},
>
Optional
startTime?: number
traceId: string