feat: Add continuous monitoring with user prompts and real-time healt…#11
Open
nomannaq wants to merge 1 commit intosuperstreamlabs:masterfrom
Open
feat: Add continuous monitoring with user prompts and real-time healt…#11nomannaq wants to merge 1 commit intosuperstreamlabs:masterfrom
nomannaq wants to merge 1 commit intosuperstreamlabs:masterfrom
Conversation
…h tracking - Add interactive monitoring prompts in CLI workflow - Implement ContinuousMonitor class for real-time cluster health tracking - Support configurable monitoring intervals (1min to 30min options) - Add baseline establishment for trend analysis and change detection - Include real-time metrics collection with separate configurable intervals - Implement comprehensive health score calculation and analysis - Add graceful shutdown handling for monitoring processes - Support both config file and interactive monitoring configuration - Generate timestamped monitoring reports in JSON format - Track consecutive failure patterns for issue detection - Integrate with existing analytics and error tracking system Features: - User choice prompts for enabling continuous monitoring - Flexible interval selection (quick, balanced, light, minimal) - Real-time metrics collection alongside periodic health checks - Baseline comparison for detecting significant changes - Automatic report generation with timestamps - Error handling with retry logic and failure tracking - Clean integration with existing CLI workflow Files modified: - src/cli.js - Added monitoring prompts and workflow integration - src/monitoring/continuous-monitor.js - Core monitoring implementation - kraft-config.json - Extended config schema for monitoring options This enhancement provides optional continuous monitoring capabilities without disrupting the existing single-analysis workflow, allowing users to choose between one-time analysis and ongoing cluster monitoring.
Contributor
|
Same comment as in #10 . Looking forward to reading your thoughts. |
Contributor
|
Hey @nomannaq, |
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.
…h tracking
Features:
Files modified:
This enhancement provides optional continuous monitoring capabilities without disrupting the existing single-analysis workflow, allowing users to choose between one-time analysis and ongoing cluster monitoring.