Skip to content

admin realtime metrics#34

Open
Favourof wants to merge 4 commits intogear5labs:buildfrom
Favourof:feat/adminRealTimeMetrics
Open

admin realtime metrics#34
Favourof wants to merge 4 commits intogear5labs:buildfrom
Favourof:feat/adminRealTimeMetrics

Conversation

@Favourof
Copy link
Copy Markdown

Closed: #28

PR: Implement Admin Real-time Metrics Dashboard (#28)

Overview
Added a live monitoring dashboard for administrators to track active users and server health via the /realtime/stats endpoint.

Key Changes

  • API Service: Added getRealtimeStats to apiService.ts to fetch live data.
  • Live Metrics Dashboard: Created a new UI section featuring real-time cards for Active Users, Server Health, CPU Load, and Memory Usage.
  • Real-time Polling: Implemented a 5-second auto-refresh interval using React useEffect to ensure data remains current.
  • Code Quality:
    • Defined strict types for metrics in agent.ts.

Technical Specs

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 27, 2026

@Favourof is attempting to deploy a commit to the Fishon Amos' projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 27, 2026

@Favourof Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Favourof
Copy link
Copy Markdown
Author

conflict resolved

@Solomonsolomonsolomon
Copy link
Copy Markdown
Contributor

@Favourof please fix merge conflicts

…into feat/adminRealTimeMetrics

# Conflicts:
#	package-lock.json
#	src/app/dashboard/page.tsx
#	src/services/api.ts
@Favourof
Copy link
Copy Markdown
Author

@Solomonsolomonsolomon conflict resolved.

@Favourof
Copy link
Copy Markdown
Author

@Solomonsolomonsolomon please merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Frontend] Implement Admin Real-time Metrics Dashboard

2 participants