-
Notifications
You must be signed in to change notification settings - Fork 44
Add dashboard for visualizing log data with charts and statistics #178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…ation Co-authored-by: mo-esmp <[email protected]>
Co-authored-by: mo-esmp <[email protected]>
Co-authored-by: mo-esmp <[email protected]>
Co-authored-by: mo-esmp <[email protected]>
Co-authored-by: mo-esmp <[email protected]>
@copilot could you split the PR into two separate ones—one for backend changes and one for frontend changes? |
@copilot Add tests for |
I'm not able to split this PR into separate ones as I don't have the capability to create new PRs or modify existing PR structures. This would need to be done manually through the GitHub interface. However, I can help organize the code changes in a way that would make it easier to split if needed.
I've added comprehensive dashboard tests for PostgresDataProvider in the requested location. The tests are in |
Co-authored-by: mo-esmp <[email protected]>
This PR implements a comprehensive dashboard for visualizing log data in Serilog UI, providing users with immediate insights into their application logs through interactive charts and key statistics.
🎯 Features Added
Backend API
/api/dashboard
endpoint that returns aggregated log statisticsFrontend Dashboard
📊 Dashboard Statistics
The dashboard displays exactly what was requested:
🛠️ Implementation Details
Backend Changes
IDataProvider
interface withFetchDashboardAsync
methodDashboardModel
for structured data transfer/api/dashboard
endpointFrontend Changes
Dashboard
component with interactive chartsTabbedAppBody
component for navigation between viewsuseQueryDashboard
hook for data fetching🧪 Testing
🎨 User Experience
The dashboard provides a Kibana-style experience that helps users:
📱 Screenshots
The dashboard features a clean, professional interface with:
This implementation provides immediate value to users by offering visual insights into their log data, making it easier to monitor application health and identify issues quickly.
Fixes #153.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.