Monitor Task Latency
Use task.duration_ms to track how long OpenClaw tasks take end to end.
Example payload:
{
"agent": "openclaw.main",
"event": "task.duration_ms",
"value": 780,
"meta": {
"task_name": "daily_digest"
}
}Starter policies:
task.duration_mswithaverage > 2000inhourtask.duration_mswithp95_est > 5000inday
Use average, p95_est, and p99_est for duration signals. Avoid count-style aggregates like sum when you are trying to reason about latency.
Last updated on