feat: complete Loki query, insights, settings and deployment workflows
Add the Loki query UI, access policies, ingress insights, alert and registry settings, and their backend APIs. Include the related Kubernetes deployment and collector updates required by the integrated application. Validated with go test ./..., npm run build, and npm run lint.
This commit is contained in:
1 parent
f9c6c1d826
commit
2d73661dd1
127 files changed
+8117
-2876
No files matched your search
@@ -13,6 +13,7 @@ import {
|
||||
UsersRound,
|
||||
Wand2,
|
||||
ScrollText,
|
||||
BellRing,
|
||||
} from 'lucide-react';
|
||||
import type { AppRoute, MenuItem, RouteMeta } from '@/types/router';
|
||||
|
||||
@@ -27,6 +28,7 @@ const SettingsPage = lazy(() => import('@/pages/settings'));
|
||||
const NotFound = lazy(() => import('@/pages/not-found'));
|
||||
const WizardPage = lazy(() => import('@/pages/wizard'));
|
||||
const LogsPage = lazy(() => import('@/pages/logs'));
|
||||
const AlertsPage = lazy(() => import('@/pages/alerts'));
|
||||
const UsersPage = lazy(() => import('@/pages/users'));
|
||||
|
||||
export const routes: AppRoute[] = [
|
||||
@@ -39,8 +41,9 @@ export const routes: AppRoute[] = [
|
||||
{ path: '/deployments', component: Deployments, auth: true, meta: { title: '部署 Loki', icon: Rocket, order: 6, adminOnly: true } },
|
||||
{ path: '/collectors', component: Collectors, auth: true, meta: { title: '日志采集', icon: RadioTower, order: 7, adminOnly: true } },
|
||||
{ path: '/logs', component: LogsPage, auth: true, meta: { title: '日志查询', icon: ScrollText, order: 8 } },
|
||||
{ path: '/alerts', component: AlertsPage, auth: true, meta: { title: '日志告警', icon: BellRing, order: 9 } },
|
||||
{ path: '/settings', component: SettingsPage, auth: true, meta: { title: '系统设置', icon: Settings, order: 9, adminOnly: true } },
|
||||
{ path: '/users', component: UsersPage, auth: true, meta: { title: '用户管理', icon: UsersRound, order: 10, adminOnly: true } },
|
||||
{ path: '/users', component: UsersPage, auth: true, meta: { title: '用户管理', icon: UsersRound, order: 11, adminOnly: true } },
|
||||
{ path: '*', component: NotFound, auth: false, meta: { title: '页面不存在', hideInMenu: true } },
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user