Session Dashboard

Session ID: {{ stats.session_id or 'N/A' }}
Duration: {{ "%.2f"|format(stats.duration_seconds or 0) }} seconds
Time Range: {{ stats.first_event_time or 'N/A' }} → {{ stats.last_event_time or 'N/A' }}
Total Events
{{ stats.total_events }}
Agent Spawns
{{ stats.total_agents }}
Tool Calls
{{ stats.total_tools }}
Errors
{{ stats.total_errors }}
Event Distribution
{% for event_type, count in stats.event_counts.items() %}
{{ event_type }} {{ count }}
{{ "%.1f"|format(count / stats.total_events * 100) }}%
{% endfor %}
{% if stats.agent_types %}
Agent Types
{% for agent_type, count in stats.agent_types.items() %}
{{ agent_type }} {{ count }}
{{ "%.1f"|format(count / stats.total_agents * 100) }}%
{% endfor %}
{% endif %} {% if stats.tool_counts %}
Tool Usage
{% for tool_name, count in stats.tool_counts.items() %}
{{ tool_name }} {{ count }}
{{ "%.1f"|format(count / stats.total_tools * 100) }}%
{% endfor %}
{% endif %} {% if stats.error_types %}
Error Types
{% for error_type, count in stats.error_types.items() %}
{{ error_type }} {{ count }}
{{ "%.1f"|format(count / stats.total_errors * 100) }}%
{% endfor %}
{% endif %}
Recent Events (Last 20)
{% for event in events[-20:] %} {% endfor %}
Timestamp Event Type Level Message
{{ event.timestamp[-12:-7] }} {{ event.event }} {{ event.level }} {{ event.message or 'N/A' }}