Commit graph

30 commits

Author SHA1 Message Date
0dd5ecc441 feat: Implement logging system
- Create TrackerLogger for file-based logging
- Auto-create logs directory if not exists
- Generate daily log files with timestamp format
- Support different log levels (INFO, WARNING, ERROR)
- Implement log_stats() for metric logging
- Implement log_alert() for alert logging
- Implement log_error() for error logging
- Maintain compatibility with Python version's logging format
2025-11-30 15:00:00 +08:00
ee427dddba feat: Implement configuration management module
- Create Config struct with serde support for JSON parsing
- Define DisplayConfig for UI toggle options
- Define AlertThresholds for monitoring alerts
- Implement Default trait for sensible defaults
- Add load() method to read config from file
- Support same config format as Python version for compatibility
2025-11-29 10:30:00 +08:00
66a2f517c3 feat: Add project dependencies and metadata
- Configure Cargo.toml with version 1.0.0
- Add sysinfo for system monitoring (equivalent to Python's psutil)
- Add clap for command-line argument parsing
- Add serde/serde_json for configuration management
- Add chrono for datetime operations
- Add logging framework (log + env_logger)
- Add CSV export support
- Add anyhow for error handling
2025-11-28 14:00:00 +08:00
77355ed667 feat: Initialize Rust project structure
- Set up basic Cargo project with tracker-rs name
- Initialize source directory with main.rs template
- Establish foundation for Rust rewrite of system tracker
2025-11-27 09:00:00 +08:00
7c6fe4f625 Add write permissions to release workflow 2025-11-25 16:23:47 +08:00
3453e32563 Fix package build configuration for flat module structure 2025-11-25 16:18:51 +08:00
5529c0d573 Release v1.0.0: Complete system monitoring solution
Major improvements and features:
- Integrate all monitoring modules (config, alert, logger, temperature)
- Add comprehensive error handling throughout codebase
- Fix data exporter directory creation issue
- Improve process monitor CPU accuracy with proper intervals
- Fix logger file handle management

New features:
- Alert system with configurable thresholds
- Automatic logging to daily log files
- Data export to JSON/CSV formats
- Configuration management via config.json
- Temperature monitoring support

CI/CD:
- Add GitHub Actions workflows for automated testing
- Add release workflow for automatic package building
- Multi-platform testing (Linux, macOS, Windows)
- Python 3.8-3.12 compatibility testing

Package distribution:
- Add setup.py and pyproject.toml for PyPI distribution
- Add MANIFEST.in for proper file inclusion
- Add comprehensive CHANGELOG.md
- Update README with full documentation

Bug fixes:
- Fix ResourceWarning in logger
- Add ZombieProcess exception handling
- Improve error handling in all metric collection methods
2025-11-25 16:12:46 +08:00
af5388cc49 Add MIT license 2024-12-28 15:45:00 +08:00
fda064a6f3 Add unit tests for core functionality 2024-12-26 13:00:00 +08:00
d81c1068e7 Update README with CLI usage examples 2024-12-23 09:30:00 +08:00
ca074f558f Merge CLI arguments support 2024-12-21 16:00:00 +08:00
dbfb8e04b0 Add CLI arguments for continuous monitoring 2024-12-19 11:30:00 +08:00
524a7d684b Handle None values in process monitoring 2024-12-16 14:15:00 +08:00
bf56c84e66 Fix CPU usage calculation parameter 2024-12-13 10:00:00 +08:00
2551bb0baf Merge data export functionality 2024-12-10 13:20:00 +08:00
899cdbc4fa Add data export functionality (JSON and CSV) 2024-12-08 15:45:00 +08:00
cb57833561 Merge alert system 2024-12-05 10:15:00 +08:00
a7433756e3 Implement alert system for threshold monitoring 2024-12-02 14:30:00 +08:00
249777e4ee Merge logging functionality 2024-11-27 09:00:00 +08:00
65f8aa5f37 Add logging functionality 2024-11-25 11:45:00 +08:00
2f353988f7 Merge configuration support 2024-11-22 15:20:00 +08:00
ffbe8173ea Add configuration file support 2024-11-20 13:00:00 +08:00
6d21ad6594 Update README with detailed feature descriptions 2024-11-18 10:30:00 +08:00
61a07d23fb Merge temperature sensor monitoring 2024-11-15 14:10:00 +08:00
a81383cf37 Merge process monitoring feature 2024-11-12 09:45:00 +08:00
e92cf8adfa Merge network monitoring feature 2024-11-09 11:00:00 +08:00
63f69faada Add temperature sensor monitoring 2024-11-08 16:20:00 +08:00
25bac713e7 Add process monitoring module 2024-11-05 10:15:00 +08:00
5fae374e95 Add network monitoring functionality 2024-11-03 14:30:00 +08:00
b25998e57b Initial commit: project structure and basic tracker 2024-11-01 09:00:00 +08:00