mirror of
https://github.com/kerberos-io/agent.git
synced 2026-11-12 21:20:36 +00:00
- Introduced a new `/health` endpoint to report the health status of the Agent, including camera stream and hub connection diagnostics. - Enhanced the Swagger documentation to include definitions for health-related responses. - Implemented telemetry for main and sub camera streams, tracking their configuration, connection status, packages processed, and last packet timestamps. - Added functionality to record hub heartbeat attempts and successes, along with connection status. - Updated the communication model to support new telemetry structures for streams and hub health. - Added tests for the health check response and operational telemetry to ensure correctness. - Refactored existing code to integrate new health monitoring features and improve logging for health checks.