Commit Graph

65 Commits

Author SHA1 Message Date
22385af77e Improve modal design: centered dialog with better styling 2025-10-02 08:43:32 -03:00
0db0457f84 Fix: implement missing showModal function 2025-10-02 08:29:15 -03:00
d3c57f6bba Add debug log to updateSmartRecommendations 2025-10-02 08:27:34 -03:00
43ccce80cd Fix: correct section ID for smart recommendations 2025-10-02 08:25:44 -03:00
4eb9b30e36 Fix summary data structure for smart recommendations 2025-10-02 08:23:33 -03:00
4c66565521 Add debug logging for smart recommendations 2025-10-02 08:22:13 -03:00
b10515fe43 Fix JavaScript error in showSection function 2025-10-02 08:18:54 -03:00
e39668e480 Implement Smart Recommendations Engine with dashboard and modals 2025-10-02 08:17:22 -03:00
f6de5a5f30 Add PromQL queries display in historical analysis
- Include PromQL queries in API response for workload metrics
- Display queries in historical analysis modal with copy functionality
- Add professional styling for query display sections
- Enable users to copy and validate queries in OpenShift Console
- Organize queries by category: cluster totals, usage, requests, limits
- Add copy-to-clipboard functionality with visual feedback
2025-10-02 07:34:02 -03:00
0686749aa8 Fix validation field name in namespace analysis
- Change validation.validation_type to validation.rule_name
- API returns rule_name field, not validation_type
- Fix undefined display in namespace analysis modal
- Ensure proper validation type display in detailed view
2025-10-01 16:17:09 -03:00
162af739e4 Fix Namespace Analysis code duplication
- Remove duplicate createNamespaceDetails() function
- Fix validation.rule_name to validation.validation_type
- Keep only showNamespaceDetailsSimple() function
- Eliminate redundant code in namespace analysis modal
- Improve code maintainability and reduce duplication
2025-10-01 16:12:21 -03:00
560fa69a3b Add Resource Utilization explanation modal
- Add info icon next to Resource Utilization metric
- Create showResourceUtilizationDetails() function
- Explain placeholder implementation status
- Show formula and purpose of Resource Utilization
- Indicate Phase 2 implementation plan
- Provide clear next steps for development
2025-10-01 15:58:43 -03:00
0ea86ef22f Fix modal close functionality
- Add proper closeModal() function
- Fix close button (X) click handler
- Fix click outside modal to close
- Remove modal from DOM instead of just hiding
- Improve modal user experience
2025-10-01 15:44:50 -03:00
2bb5266753 Improve overcommit UI with info icons and modals
- Replace tooltips with info icons (ℹ️) next to CPU/Memory Overcommit
- Add modal dialogs showing detailed overcommit calculations
- Change Resource Quota Coverage to Resource Utilization
- Add CSS styling for overcommit details modals
- Improve UX with clickable info icons instead of hover tooltips
- Show capacity, requests, overcommit percentage, and available resources
2025-10-01 15:41:43 -03:00
8984701bf3 Add detailed tooltips for overcommit metrics
- Add tooltips showing capacity, requests, and calculation details
- Include CPU and Memory capacity/requests in API response
- Add CSS styling for tooltip hover effects
- Show detailed breakdown: Capacity Total, Requests Total, and calculation formula
- Improve user experience with transparent overcommit information
2025-10-01 15:33:39 -03:00
b83c55bf08 Fix Cluster Overcommit Summary display
- Add overcommit data processing in /cluster/status endpoint
- Extract CPU/Memory capacity and requests from Prometheus
- Calculate overcommit percentages and resource quota coverage
- Update frontend to use new overcommit data structure
- Fix issue where Cluster Overcommit Summary was showing all zeros
2025-10-01 15:13:04 -03:00
ee20a09147 Fix data unification and efficiency calculations
- Unify Prometheus queries between namespace analysis and historical analysis
- Fix efficiency calculations to prevent division by zero
- Remove duplicate validations in validation service
- Improve frontend data display with clear numerical values
- Add proper error handling for missing data
2025-10-01 14:43:43 -03:00
6ad1997afd Remove simulated data and enable real Prometheus metrics 2025-09-30 21:13:46 -03:00
f3dff8be76 Fix JavaScript error in historical analysis modal - preserve DOM elements when loading metrics 2025-09-30 20:50:25 -03:00
5f3f737b3a Add simulated data fallback for historical analysis when Prometheus is not accessible 2025-09-30 18:06:10 -03:00
2b2b3c23b2 Fix: Historical analysis now shows real consumption numbers and percentages relative to cluster totals 2025-09-30 18:03:17 -03:00
f0d3831263 Feature: Add real Prometheus metrics visualization for historical analysis 2025-09-30 17:41:39 -03:00
1052740f21 Remove: Duplicate functions with alerts that were overriding the modal functionality 2025-09-30 13:49:13 -03:00
bd2af094e6 Fix: Remove alert from analyzeNamespace function and use proper modal 2025-09-30 13:46:16 -03:00
4ce538c35c Replace alerts with proper modals for namespace analysis and fix functionality 2025-09-30 13:44:17 -03:00
3bf0c99fd6 Add: Simple namespace analysis with detailed pod and container information 2025-09-30 13:40:55 -03:00
e2311b6967 Add: Detailed namespace analysis with modal popup showing pod and container details 2025-09-30 13:37:55 -03:00
96c29d4179 Fix: Problem Summary table displaying namespace names and pod counts correctly 2025-09-30 13:34:36 -03:00
af42204897 Fix API endpoint - use correct /api/v1/cluster/status 2025-09-30 12:14:17 -03:00
883c50a104 Simplify dashboard - remove redundancies and create pragmatic interface 2025-09-30 10:45:07 -03:00
fa8f3a41e5 Implement simplified UI/UX with health scores and grouped validations 2025-09-30 09:37:49 -03:00
222761dbda Fix: reorganizada navegação - Historical Analysis movido para o final com divisor 2025-09-29 21:45:36 -03:00
3f9dae993f UI: removido fundo roxo do Cluster Health Overview, deixado mais sóbrio como Resource Consumption 2025-09-29 21:11:54 -03:00
e732d05cd5 Fix: esclarecido que Top Resource Consumers mostra REQUESTS, não consumo real 2025-09-29 21:07:56 -03:00
d0eeeb2d1a Fix: corrigido erro JavaScript que impedia carregamento de dados do dashboard 2025-09-29 21:02:53 -03:00
79548ff3a6 Fix: removida redundância de métricas e adicionadas métricas específicas de saúde do cluster 2025-09-29 20:59:32 -03:00
b4190a9e97 MAJOR: corrigido valores hardcoded e implementado exibição inteligente de unidades (milicores/MiB) 2025-09-29 20:15:56 -03:00
c14a1e2674 Fix: corrigido conversão de capacidade de memória no JavaScript (já vem em GiB da API) 2025-09-29 20:06:01 -03:00
b56a9e6e14 Fix: corrigido QoS distribution no dashboard 2025-09-29 18:12:58 -03:00
379ce69b66 Fix: corrigido JavaScript do dashboard para exibir dados do cluster-health 2025-09-29 18:11:01 -03:00
19686e7866 Fix: adicionado CORS e corrigido endpoint cluster-health 2025-09-29 17:50:20 -03:00
ec519bb4a4 Feat: adicionar sistema de ajuda com modais explicativos
- Adicionar ícones de ajuda () para todas as métricas e recursos
- Implementar modal de ajuda com conteúdo explicativo detalhado
- Criar explicações leigo-friendly para conceitos técnicos
- Adicionar ajuda para: Pods, Namespaces, Critical Issues, Overcommit
- Explicar recursos: CPU, Memory, Resource Consumption
- Detalhar QoS classes: Guaranteed, Burstable, BestEffort
- Incluir Top Resource Consumers e QoS Distribution
- Melhorar UX com tooltips informativos e design responsivo
- Adicionar estilos CSS para ícones e modal de ajuda
2025-09-29 16:54:51 -03:00
3a5af8ce67 Feat: implementar dashboard de cluster health com QoS e Resource Quotas
- Adicionar modelos para QoSClassification, ResourceQuota e ClusterHealth
- Implementar classificação automática de QoS (Guaranteed, Burstable, BestEffort)
- Criar análise de Resource Quotas com recomendações automáticas
- Adicionar dashboard principal com visão geral do cluster
- Implementar análise de overcommit com métricas visuais
- Adicionar top resource consumers com ranking
- Criar distribuição de QoS com estatísticas
- Adicionar novos endpoints API para cluster health e QoS
- Melhorar interface com design responsivo e intuitivo
- Alinhar com práticas Red Hat para gerenciamento de recursos
2025-09-29 16:35:07 -03:00
afc7462b40 Feat: implementar sistema de recomendações inteligentes e categorização de workloads 2025-09-29 15:26:09 -03:00
514ea60274 Fix namespace historical analysis - use Kubernetes API for accurate pod count and remove duplicate function 2025-09-29 14:07:49 -03:00
c15ce4557a Fix historical analysis modal - use correct container for content display 2025-09-29 13:56:05 -03:00
e6bb852937 Fix: Correct namespace historical analysis function to use cluster status API 2025-09-29 13:09:01 -03:00
e47274b41b UI: Implement nested namespace/deployment structure with historical analysis buttons 2025-09-29 13:05:07 -03:00
0a5b8a03c6 Implement workload-based historical analysis with timeline buttons 2025-09-26 13:50:44 -03:00
85446e673e Update menu names and remove red header banner for cleaner interface 2025-09-26 11:12:41 -03:00