Workflow execution metrics

interface WorkflowMetrics {
    traceId: string;
    spanId: string;
    workflowId: string;
    workflowVersion: string;
    totalSteps: number;
    completedSteps: number;
    failedSteps: number;
    skippedSteps: number;
    latencyMs: number;
    success: boolean;
    error?: string;
    timestamp: Date;
}

Properties

traceId: string
spanId: string
workflowId: string
workflowVersion: string
totalSteps: number
completedSteps: number
failedSteps: number
skippedSteps: number
latencyMs: number
success: boolean
error?: string
timestamp: Date