Tool spans already carry duration_ms and status, but the metrics layer
only counted them. Expose that data:
- GetTopTools now returns avg/p95 duration and error count per tool.
- Timeseries buckets gain tool_avg_ms / tool_p95_ms (filtered
percentile_cont over tool spans).
- Dashboard Top Tools shows avg latency per tool; the Latency panel,
previously always empty (it read run-level duration that is never
emitted), now plots real tool-span latency (min/avg/p95).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Label all agentmon docker-compose services with agentmon.monitor=true
and agentmon.group=agentmon so the swarm-monitor picks them up.
Adds Group field to ServiceSnapshot, probes /healthz for api/web roles,
and renders a separate "Agentmon" section below Swarm Services on the
Infrastructure page with new api and worker card renderers.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Active sessions query now finds truly active sessions (started
anytime, no session.end ever) instead of only today's sessions
- Use uPlot setData() for live WS updates instead of destroying
and recreating the chart on every event
- Destroy chart only on window change so it recreates with new scale
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add event_type and framework filters to events query endpoint
- Add /agents SPA route to web-ui server
- Add Agents nav link and route in frontend
- Add agents page CSS (timeline, VM pills, stats panel)
- Build VM status strip, activity timeline, and real-time stats
- Add agentmon hook for OpenClaw (HOOK.md + handler.ts)
- Add docker-compose, Dockerfile, and supporting infra files
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
GetSessionWithRuns returns session metadata and all runs.
GetRunWithSpans returns run metadata and all spans with payload.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Supports filtering by time range, framework, and host.
Returns paginated results with cursor-based pagination.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>