Implement sliding window observer for kernel metrics
Open
- Dominant language
- Python
- Stars
- 670
- Forks
- 183
- Avg merge
- 17h 7m
- Merged PRs (30d)
- 358
Description
## Goal
Implement timestamp-based cleanup mechanism for kernel metrics.
## Requirements
- Track last collection timestamp for each kernel metric
- Configurable cleanup window (multiple of 5 minutes, the metric collection interval)
- Auto-remove metrics not updated within the window
- Integrate with existing StatContext
## Implementation
Add sliding window observer to `stats.py`:
- New class or method to track timestamps
- Configuration parameter for window size
- Periodic cleanup task
## Dependencies
Should be implemented after bug fix (BA-3521 subtask 1).
JIRA Issue: BA-3523
Contributor guide
Assessment
This issue has not been assessed yet.