python-detector-worker/core/monitoring
Siwat Sirichai b08ce27de2
Some checks failed
Build Worker Base and Application Images / check-base-changes (push) Successful in 8s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 3m7s
Build Worker Base and Application Images / deploy-stack (push) Has been cancelled
Implement comprehensive health monitoring for streams and threads
- Added RecoveryManager for automatic handling of health issues, including circuit breaker patterns, automatic restarts, and graceful degradation.
- Introduced StreamHealthTracker to monitor video stream metrics, including frame production, connection health, and error rates.
- Developed ThreadHealthMonitor for detecting unresponsive and deadlocked threads, providing liveness detection and responsiveness testing.
- Integrated health checks for streams and threads, reporting metrics and recovery actions to the health monitor.
- Enhanced logging for recovery attempts, errors, and health checks to improve observability and debugging.
2025-09-27 12:27:38 +07:00
..
__init__.py Implement comprehensive health monitoring for streams and threads 2025-09-27 12:27:38 +07:00
health.py Implement comprehensive health monitoring for streams and threads 2025-09-27 12:27:38 +07:00
recovery.py Implement comprehensive health monitoring for streams and threads 2025-09-27 12:27:38 +07:00
stream_health.py Implement comprehensive health monitoring for streams and threads 2025-09-27 12:27:38 +07:00
thread_health.py Implement comprehensive health monitoring for streams and threads 2025-09-27 12:27:38 +07:00