IMClaw currently lacks strong visibility into performance and failure patterns. We should add metrics and execution tracing that make tuning and debugging practical.
Goals
- Track request latency
- Track tool call counts and durations
- Track permission denials and agent failures
- Track output sizes and session activity
Deliverables
- Metrics collection points
- Structured logs for key events
- Dashboard-friendly naming
- 仅通过日志,不需要外接外部tracing系统
Acceptance criteria
- Operators can identify slow sessions and noisy tools
- Permission and execution failures are measurable
- Session activity is observable over time
IMClaw currently lacks strong visibility into performance and failure patterns. We should add metrics and execution tracing that make tuning and debugging practical.
Goals
Deliverables
Acceptance criteria