Skip to content

feat: add observability for sessions, tools, and agent execution #11

@smallnest

Description

@smallnest

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions