fix: 恢复链路追踪和监控大屏(监控模块),仅移除SQL审计;修复AlertCenter崩溃

This commit is contained in:
attacker committed 2026-06-15 02:00:22 +08:00
1 parent df697e0b25
commit 6545597412
3 files changed
+442

No files matched your search

+4
View File
@@ -32,6 +32,8 @@ import { AIFaultDiagnosis } from '@/components/aiops/AIFaultDiagnosis';
import { AIPredictiveAnalytics } from '@/components/aiops/AIPredictiveAnalytics';
import LogManager from '@/components/monitor/logs/LogManager';
import AlertCenter from '@/components/monitor/alert-center/AlertCenter';
import TraceManager from '@/components/monitor/trace/TraceManager';
import GrafanaDashboard from '@/components/monitor/dashboard/GrafanaDashboard';
import { AgentMonitor } from '@/components/agent/AgentMonitor';
import { AgentAlerts } from '@/components/agent/AgentAlerts';
@@ -73,6 +75,8 @@ function App() {
<Route path="metrics" element={<AlertManager />} />
<Route path="alert-center" element={<AlertCenter />} />
<Route path="logs-monitor" element={<LogManager />} />
<Route path="trace" element={<TraceManager />} />
<Route path="grafana" element={<GrafanaDashboard />} />
<Route path="agent-alerts" element={<AgentAlerts />} />
<Route path="alerts" element={<AlertManager />} />
<Route path="logs" element={<AlertManager />} />
@@ -32,6 +32,7 @@ import {
Activity,
BarChart3,
GitBranch,
Monitor,
Bot,
AlertTriangle,
} from 'lucide-react';
@@ -90,6 +91,8 @@ const menuItems: MenuItem[] = [
{ id: 'metrics', name: '指标监控', icon: Cpu, path: '/metrics' },
{ id: 'alert-center', name: '告警中心', icon: Bell, path: '/alert-center' },
{ id: 'logs-monitor', name: '日志能力', icon: FileCode, path: '/logs-monitor' },
{ id: 'trace', name: '链路追踪', icon: GitBranch, path: '/trace' },
{ id: 'grafana', name: '监控大屏', icon: Monitor, path: '/grafana' },
{ id: 'agent-alerts', name: 'Agent告警', icon: AlertTriangle, path: '/agent-alerts' },
],
},