'use client' const insights = [ { type: 'anomaly', icon: '🔍', title: 'Anomalia Detectada', description: 'O servidor cache-01 está com consumo 40% acima do padrão para este horário.', severity: 'high', action: 'Investigar', }, { type: 'prediction', icon: '🔮', title: 'Previsão de Capacidade', description: 'O disco do servidor db-01 vai atingir 90% em aproximadamente 12 dias.', severity: 'medium', action: 'Planejar expansão', }, { type: 'optimization', icon: '💡', title: 'Oportunidade de Economia', description: 'O servidor dev-02 está subutilizado (CPU média: 5%). Considere reduzir recursos.', severity: 'low', action: 'Ver detalhes', }, ] export default function AIInsights() { const getSeverityColor = (severity: string) => { switch (severity) { case 'high': return 'border-red-500/50 bg-red-950/20' case 'medium': return 'border-yellow-500/50 bg-yellow-950/20' default: return 'border-green-500/50 bg-green-950/20' } } return (
Análises geradas automaticamente
{insight.title}
{insight.description}