- Revert to Victory.VictoryPie component (original format)
- Keep real data from /api/v1/namespace-distribution
- Maintain hover effects and summary statistics
- Fix chart rendering while preserving data accuracy
- Replace Victory pie chart with HTML-based visualization for namespace distribution
- Update resource utilization trend to use real cluster metrics
- Update issues timeline to use real validation data
- Add proper error handling and empty states
- Remove all mock/sample data from charts
- Create new API endpoint /api/v1/namespace-distribution
- Replace mock data with real cluster data
- Add CPU and memory parsing functions
- Update frontend to use real data with enhanced chart
- Add hover effects and summary statistics
- Filter pods with status not in [Running, Pending]
- Filter pods ending with -build (S2I build pods)
- Prevent build pods from polluting workload analysis
- Improve analysis accuracy by focusing on active workloads
- Add OptimizedPrometheusClient with aggregated queries (1 query vs 6 per workload)
- Implement intelligent caching system with 5-minute TTL and hit rate tracking
- Add MAX_OVER_TIME queries for peak usage analysis and realistic recommendations
- Create new optimized API endpoints for 10x faster workload analysis
- Add WorkloadMetrics and ClusterMetrics data structures for better performance
- Implement cache statistics and monitoring capabilities
- Focus on workload-level analysis (not individual pods) for persistent insights
- Maintain OpenShift-specific Prometheus queries for accurate cluster analysis
- Add comprehensive error handling and fallback mechanisms
- Enable parallel query processing for maximum performance
Performance Improvements:
- 10x reduction in Prometheus queries (60 queries → 6 queries for 10 workloads)
- 5x improvement with intelligent caching (80% hit rate expected)
- Real-time peak usage analysis with MAX_OVER_TIME
- Workload-focused analysis for persistent resource governance
- Optimized for OpenShift administrators' main pain point: identifying projects with missing/misconfigured requests and limits
- Add complete Source-to-Image (S2I) deployment support
- Create .s2i/ directory with assemble/run scripts and environment config
- Add openshift-s2i.yaml template for S2I deployment
- Add scripts/deploy-s2i.sh for automated S2I deployment
- Add README-S2I.md with comprehensive S2I documentation
- Update README.md and AIAgents-Support.md with S2I information
- Clean up unused files: Dockerfile.simple, HTML backups, daemonset files
- Remove unused Makefile and openshift-git-deploy.yaml
- Update kustomization.yaml to use deployment instead of daemonset
- Update undeploy-complete.sh to remove deployment instead of daemonset
- Maintain clean and organized codebase structure
- Implement 5 new charts using Victory.js and PatternFly styling:
1. Resource Utilization Trend (24h) - Line chart showing CPU/Memory over time
2. Namespace Resource Distribution - Pie chart showing resource allocation
3. Issues by Severity Timeline - Stacked area chart for Critical/Warnings
4. Top 5 Workloads by Resource Usage - Horizontal bar chart
5. Overcommit Status by Namespace - Grouped bar chart for CPU/Memory
- Add responsive chart cards with PatternFly styling
- Include chart legends and proper color schemes
- Load charts automatically when dashboard loads
- Use real data from APIs where available, simulated data for demos
- All charts follow OpenShift console design patterns
- Change from sum() to current value (last point) for accurate usage
- CPU and Memory should show current usage, not sum of all data points
- Fixes issue where memory usage was incorrectly showing 800+ MB
- Now shows realistic current resource consumption values
- Add get_workload_cpu_summary() and get_workload_memory_summary() methods
- Use exact OpenShift Console PromQL queries for data consistency
- Update historical analysis API endpoints to include real CPU/Memory data
- Document all OpenShift Console queries in AIAgents-Support.md
- Fix CPU Usage and Memory Usage columns showing N/A in Historical Analysis
- Remove Load Details button from workload table
- Replace with simple 'Click to expand' text
- Auto-load data when accordion is expanded
- Simplify user experience by removing redundant action
- Data loads automatically on accordion toggle
- Fix timeRange selection in loadWorkloadDetails function
- Replace timeRangeSelect with timeRangeText from PatternFly dropdown
- Add proper time range mapping for 1h, 6h, 24h, 7d, 30d
- Fix Historical Analysis workload details loading with different time ranges
- Remove duplicate loadWorkloadDetails function that was causing accordion loading issues
- Keep only the version with index parameter for accordion functionality
- Fix Historical Analysis workload details loading in accordions
- Fix Historical Analysis loading issue by updating loadHistoricalAnalysis function
- Replace native HTML select with PatternFly dropdown for time range selector
- Add PatternFly-compliant CSS styling for dropdown component
- Implement proper dropdown functionality with toggle, selection, and outside click
- Add accessibility features with ARIA attributes
- Integrate dropdown with existing API calls
- Improve user experience with consistent PatternFly design
- Reorganize sidebar: Home, Analysis, Recommendations, Settings
- Move Analysis section to second position (after Home)
- Create new Recommendations section with Historical Based and VPA Management
- Integrate Smart Recommendations into VPA Management section
- Remove Observe section (Metrics/Logs - available in OpenShift console)
- Add Settings section for future configuration options
- Update navigation logic for all new sections
- Improve interface focus on app's core purpose
- Remove 'Workloads with Issues' table from main dashboard
- Create new 'Requests & Limits' section in sidebar under 'Analysis'
- Replace empty 'Workloads' section (Pods, Deployments, Services) with 'Requests & Limits'
- Move workloads table functionality to dedicated 'Requests & Limits' page
- Update navigation logic to handle new section
- Improve dashboard focus on metrics and cluster overview
- Clean up sidebar by removing non-functional menu items
- Update resource utilization display to use .toFixed(1) for better readability
- Apply formatting to both main dashboard and modal details
- Change from 266.04049998033537% to 266.0% for human readability
- Improve user experience with cleaner number formatting