ExecutionRecord
data class ExecutionRecord(val taskId: String, val startedAt: Long, val completedAt: Long, val durationMs: Long, val state: String, val retryCount: Int, val error: String?)
A single execution record for telemetry and analytics.
Captured automatically when a TelemetryCollector is installed.
Parameters
taskId
The task that was executed.
startedAt
Epoch millis when execution began.
completedAt
Epoch millis when execution finished.
durationMs
How long the execution took.
state
Terminal state: "SUCCESS", "FAILED", "CANCELLED", "TIMED_OUT".
retryCount
How many retries occurred before this result.
error
Error message if the task failed, null otherwise.