-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Summary
This work item focuses on improving the core host management capabilities of FeOS.
Key deliverables include integrating a time synchronization client (SNTP/NTP) to ensure system clock accuracy and extending the Host API to expose critical resource statistics (memory and CPU) for better observability.
Scope
✅ In Scope
- Integrate an SNTP/NTP client for system time synchronization
- Extend the Host API to expose host memory and CPU consumption statistics
❌ Out of Scope
- Detailed per-container resource monitoring (this is focused on host statistics)
- Integration with external monitoring systems (e.g., Prometheus exporters)
- Advanced time synchronization features (e.g., PTP)
Responsible Areas
- FeOS Runtime
Contributors
Acceptance Criteria
-
System Services
- [ ] An SNTP or NTP client is integrated and can be enabled via configuration.
- [ ] FeOS system time is successfully synchronized with a configured time server upon startup and periodically.
-
Host API & Observability
- [ ] A new Host API endpoint exists for retrieving host resource statistics.
- [ ] The API endpoint returns current host-level memory usage (e.g., total, used, free).
- [ ] The API endpoint returns current host-level CPU utilization (e.g., load average or percentage).
Action Items
- Research and integrate a lightweight SNTP/NTP client library.
- Add configuration options for enabling NTP and setting time servers.
- Design the Host API endpoint and data structure for resource statistics.
- Implement the backend logic to gather host memory and CPU data.
- Expose collected memory/CPU data via the new Host API endpoint.
- Add unit and integration tests for NTP and the statistics API.
Sub-issues
Metadata
Metadata
Labels
Type
Projects
Status