Commit Graph

20 Commits

Author SHA1 Message Date
William Valentin 063e41616a fix: active sessions query, chart update performance
- 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>
2026-03-14 11:25:06 -07:00
William Valentin e7dd954f6a fix: ResizeObserver leak, CSS class lowercase, active sessions live update 2026-03-14 11:11:42 -07:00
William Valentin eaf73e5ff5 feat: add real-time dashboard with charts, stats, and activity feed
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 11:05:07 -07:00
William Valentin cac3404aa4 feat: add dashboard CSS styles 2026-03-14 11:03:26 -07:00
William Valentin d593c745aa feat: add uPlot CDN and dashboard nav link 2026-03-14 11:02:23 -07:00
William Valentin 9b78d65b1d feat: add stats summary and timeseries API endpoints 2026-03-14 11:01:40 -07:00
William Valentin 37f9b34197 fix: use 'unknown' for null framework, run gofmt 2026-03-14 11:01:11 -07:00
William Valentin 24a7fc2782 feat: add summary and timeseries stats queries 2026-03-14 00:47:08 -07:00
William Valentin 78fed5a832 chore: remove completed agent monitoring plan 2026-03-14 00:31:25 -07:00
William Valentin 3434db3c59 feat: complete agent monitoring - hook, UI, and backend filter
- 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>
2026-03-14 00:26:42 -07:00
William Valentin 1927ec6622 feat: add static frontend with SPA routing
- Sessions list with filters (time, framework, host)
- Session detail with runs table
- Run detail with expandable spans
- Dark theme GitHub-style UI
- API proxy to query-api via /api

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 01:59:16 -08:00
William Valentin d71b6ae537 feat: add sessions and runs endpoints to query-api
GET /v1/sessions - list sessions with filters
GET /v1/sessions/:id - session detail with runs
GET /v1/runs/:id - run detail with spans

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 01:57:40 -08:00
William Valentin 9da01ef924 feat: add session and run detail queries
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>
2026-01-17 01:57:09 -08:00
William Valentin 1fb9396877 feat: add sessions list query
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>
2026-01-17 01:56:34 -08:00
William Valentin 2fd4fe0ae0 feat: add validation to ingest gateway
HTTP and WebSocket handlers now validate events before publishing.
Returns detailed error info on validation failures.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 01:56:04 -08:00
William Valentin 0e2734be23 feat: add event validation
Validates required envelope fields: schema, event.id, event.type,
event.ts, and event.source (framework, client_id, host).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 01:55:24 -08:00
William Valentin 4456997216 docs: add UI, query API, validation implementation plan
10 tasks covering validation, query endpoints, and frontend.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 01:48:53 -08:00
William Valentin d748033851 docs: add UI, query API, and validation design
Design for Sessions/Run views, three new query-api endpoints,
and schema validation at ingest-gateway.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 01:43:04 -08:00
William Valentin 256b841cbf feat: scaffold agentmon services and k8s deploy
Adds Go microservices (ingest-gateway, event-processor, query-api, web-ui), NATS+Postgres wiring, initial schema/init job, ingress manifests for LAN+tailnet, and a multi-arch image build script.
2026-01-17 01:06:57 -08:00
William Valentin a584d7e274 chore: init repo layout 2026-01-16 12:44:40 -08:00