Skip to content

feat: Add continuous monitoring with user prompts and real-time healt… #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nomannaq
Copy link

…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.

…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.
@yanivbh1
Copy link
Contributor

Same comment as in #10 . Looking forward to reading your thoughts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants