aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil/sessionsclient.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add session log ingestion, dashboard visualization, and log forwarding sinkStefan Boberg3 days1-0/+230
| | | | | | | | | | - Add POST/GET endpoints for session logs (/sessions/{id}/log) supporting raw text (newline-split) and structured JSON/CbObject with batch "entries" array - Add in-memory log storage per session (capped at 10k entries) with pagination - Add log panel to sessions dashboard with polling, auto-scroll, and level coloring - Add SessionLogSink that batches log messages on a background thread and forwards them to the sessions endpoint via HTTP, integrated into ZenStorageServer when a remote sessions URL is configured
* Add SessionsServiceClient and enhanced sessions dashboardStefan Boberg3 days1-0/+147
- Add SessionsServiceClient in zenutil for announcing sessions to a remote zenserver (POST/PUT/DELETE lifecycle with 15s heartbeat timer) - Storage server registers itself into its own local sessions service - Add session mode attribute coupled to server mode (Compute, Proxy, etc) - Track ended sessions with ended_at timestamp and status filtering - Sessions dashboard: master-detail layout with selectable rows, Active/Ended/All tabs, metadata panel, live WebSocket updates, paging, abbreviated date formatting, and "this" pill for self session - Accept JSON payloads on sessions POST endpoint via ReadPayloadObject - Add --sessions-url config option for remote session announcement