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