Genkit JS API reference
    Preparing search index...

    Type Alias SpanData

    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 }
    • OptionalparentSpanId?: string
    • OptionalsameProcessAsParentSpan?: { value: boolean }
    • spanId: string
    • spanKind: string
    • startTime: number
    • Optionalstatus?: { code: number; message?: string }
    • OptionaltimeEvents?: {
          timeEvent: {
              annotation: { attributes: Record<string, any>; description: string };
              time: number;
          }[];
      }
    • traceId: string
    • Optionaltruncated?: boolean