Skip to content

Commit df9a529

Browse files
committed
Add Models Usage analytics dashboard
Introduces a new ModelsUsage component for monitoring model performance, usage analytics, and cost tracking. Integrates the dashboard into AdminDashboard with a new tab and icon, providing summary cards, model performance table, usage trends, and alerts.
1 parent de4f783 commit df9a529

File tree

2 files changed

+540
-2
lines changed

2 files changed

+540
-2
lines changed

management/ui/src/components/AdminDashboard.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ import AdminResources from './AdminResources';
99
import AdminKubectl from './AdminKubectl';
1010
import PublishingDashboard from './PublishingDashboard';
1111
import DeveloperConsole from './DeveloperConsole';
12-
import { LogOut, Shield, Database, Activity, Terminal, FileText, Settings, Users, Globe, Code } from 'lucide-react';
12+
import ModelsUsage from './ModelsUsage';
13+
import { LogOut, Shield, Database, Activity, Terminal, FileText, Settings, Users, Globe, Code, BarChart3 } from 'lucide-react';
1314

1415
const AdminDashboard = () => {
1516
const [activeTab, setActiveTab] = useState('models');
@@ -21,7 +22,7 @@ const AdminDashboard = () => {
2122
{ id: 'models', label: 'Model Management', icon: Database, component: ModelList, description: 'View, manage, and monitor AI/ML models across all tenants' },
2223
{ id: 'inference', label: 'Test Model Inference', icon: Activity, component: InferenceTest, description: 'Test model APIs and validate inference endpoints' },
2324
{ id: 'publishing', label: 'Model Publishing', icon: Globe, component: PublishingDashboard, description: 'Publish models to external API endpoints with authentication' },
24-
25+
{ id: 'usage', label: 'Models Usage', icon: BarChart3, component: ModelsUsage, description: 'Monitor model performance, usage analytics, and cost tracking across deployments' },
2526
];
2627

2728
// Developer Concerns: API access, usage monitoring, and application debugging

0 commit comments

Comments
 (0)