Expand description
Runtime metrics accumulated by sessions. Session-level metrics — lightweight counters updated by the runtime.
SessionMetrics is embedded in AgentSession and
accumulates counters across all turns. Callers can snapshot it via
AgentSession::metrics to feed their own
monitoring stack (Prometheus, CloudWatch, etc.).
Structs§
- Session
Metrics - Accumulated metrics for an agent session, updated internally by the runtime.