Trace analysis result

interface TraceAnalysis {
    bottleneck_events: common.insights.InsightsEvent[];
    chain_depth: number;
    duration_ms: number;
    end_time: number;
    error_events: common.insights.InsightsEvent[];
    event_chain: common.insights.InsightsEvent[];
    event_count: number;
    has_errors: boolean;
    llm_invocations: number;
    root_event: common.insights.InsightsEvent;
    start_time: number;
    total_latency_ms: number;
    total_tokens: number;
    trace_id: string;
}

Properties

bottleneck_events: common.insights.InsightsEvent[]
chain_depth: number
duration_ms: number
end_time: number
error_events: common.insights.InsightsEvent[]
event_count: number
has_errors: boolean
llm_invocations: number
start_time: number
total_latency_ms: number
total_tokens: number
trace_id: string