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

  • OptionaldisplayName?: string
  • OptionalendTime?: 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;
        },
    >
  • OptionalstartTime?: number
  • traceId: string