feat: Add comprehensive CLI options, export functionality, and TUI fi…#1
Merged
parvvaresh merged 2 commits intomainfrom Jan 31, 2026
Merged
feat: Add comprehensive CLI options, export functionality, and TUI fi…#1parvvaresh merged 2 commits intomainfrom
parvvaresh merged 2 commits intomainfrom
Conversation
…ltering Add extensive new features to enhance monitoring, reporting, and usability: Command-Line Interface: - Add --interval flag for configurable sampling intervals - Add --db flag for custom database locations - Add --once flag for one-shot sampling mode - Add --continuous flag for background monitoring - Add --export flag with JSON and CSV format support - Add --output flag to specify export destination - Add --list-users flag for quick user summary - Add --max-temp and --max-mem flags for alert thresholds - Add --version flag for version information Export & Reporting: - Implement JSON export with full snapshot data structure - Implement CSV export for spreadsheet compatibility - Support output to file or stdout for piping - Enable integration with monitoring systems and APIs TUI Enhancements: - Add user filtering (key: f) to focus on specific users - Add GPU filtering (key: g) for multi-GPU systems - Add memory sorting toggle (key: m) - Add clear filters command (key: c) - Display active filter indicators in header - Show visual highlights for filtered items Alert System: - Add configurable temperature threshold monitoring - Add configurable memory utilization alerts - Display visual alerts in TUI with warning indicators - Output alerts to stderr in continuous mode for scripting Architecture: - Introduce Config struct for TUI configuration - Add NewWithConfig() constructor for advanced initialization - Implement getFilteredSnapshot() for filter application - Add helper functions for user enumeration and filtering - Maintain backward compatibility with existing API Documentation: - Create FEATURES.md with comprehensive examples - Create QUICKSTART.md for quick reference - Create CHANGELOG.md tracking version history - Update README.md with usage examples and integration guides - Add troubleshooting section and advanced use cases Files modified: - cmd/gpu-tracker/main.go - internal/tui/model.go - internal/tui/view.go - README.md Files added: - FEATURES.md - QUICKSTART.md - CHANGELOG.md Breaking changes: None Backward compatibility: Full compatibility with v1.0.x maintained Version: 1.1.0
…ltering Add extensive new features to enhance monitoring, reporting, and usability: Command-Line Interface: - Add --interval flag for configurable sampling intervals - Add --db flag for custom database locations - Add --once flag for one-shot sampling mode - Add --continuous flag for background monitoring - Add --export flag with JSON and CSV format support - Add --output flag to specify export destination - Add --list-users flag for quick user summary - Add --max-temp and --max-mem flags for alert thresholds - Add --version flag for version information Export & Reporting: - Implement JSON export with full snapshot data structure - Implement CSV export for spreadsheet compatibility - Support output to file or stdout for piping - Enable integration with monitoring systems and APIs TUI Enhancements: - Add user filtering (key: f) to focus on specific users - Add GPU filtering (key: g) for multi-GPU systems - Add memory sorting toggle (key: m) - Add clear filters command (key: c) - Display active filter indicators in header - Show visual highlights for filtered items Alert System: - Add configurable temperature threshold monitoring - Add configurable memory utilization alerts - Display visual alerts in TUI with warning indicators - Output alerts to stderr in continuous mode for scripting Architecture: - Introduce Config struct for TUI configuration - Add NewWithConfig() constructor for advanced initialization - Implement getFilteredSnapshot() for filter application - Add helper functions for user enumeration and filtering - Maintain backward compatibility with existing API Documentation: - Create FEATURES.md with comprehensive examples - Create QUICKSTART.md for quick reference - Create CHANGELOG.md tracking version history - Update README.md with usage examples and integration guides - Add troubleshooting section and advanced use cases Files modified: - cmd/gpu-tracker/main.go - internal/tui/model.go - internal/tui/view.go - README.md Files added: - FEATURES.md - QUICKSTART.md - CHANGELOG.md Breaking changes: None Backward compatibility: Full compatibility with v1.0.x maintained Version: 1.1.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…ltering
Add extensive new features to enhance monitoring, reporting, and usability:
Command-Line Interface:
Export & Reporting:
TUI Enhancements:
Alert System:
Architecture:
Documentation:
Files modified:
Files added:
Breaking changes: None
Backward compatibility: Full compatibility with v1.0.x maintained
Version: 1.1.0