Add dashboard for visualizing log data with charts and statistics#178
Add dashboard for visualizing log data with charts and statistics#178
Conversation
…ation Co-authored-by: mo-esmp <1659032+mo-esmp@users.noreply.github.com>
Co-authored-by: mo-esmp <1659032+mo-esmp@users.noreply.github.com>
Co-authored-by: mo-esmp <1659032+mo-esmp@users.noreply.github.com>
Co-authored-by: mo-esmp <1659032+mo-esmp@users.noreply.github.com>
Co-authored-by: mo-esmp <1659032+mo-esmp@users.noreply.github.com>
|
@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 <1659032+mo-esmp@users.noreply.github.com>
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/dashboardendpoint that returns aggregated log statisticsFrontend Dashboard
📊 Dashboard Statistics
The dashboard displays exactly what was requested:
🛠️ Implementation Details
Backend Changes
IDataProviderinterface withFetchDashboardAsyncmethodDashboardModelfor structured data transfer/api/dashboardendpointFrontend Changes
Dashboardcomponent with interactive chartsTabbedAppBodycomponent for navigation between viewsuseQueryDashboardhook 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.