Skip to content

Conversation

crbelaus
Copy link
Contributor

@crbelaus crbelaus commented Jul 15, 2024

Started the work on the dashboard. For the moment it is just an extremely basic table that lists errors and allows marking them as resolved or unresolved. The errors are paginated using infinite scroll with Phoenix LiveView streams. In the future I would like to use cursor-based pagination as it is more efficient that limit+offset pagination, but that can be done anytime.

I've also added a new field to the error to track the last occurrence timestamp. Without this we need to resort to joins and window functions to get this information, and those are much more expensive in DB terms.

The index is unfinished yet and it needs filters and good styling. We also have to implement a detailed page for each error that shows the full stacktrace and every occurrence.

@crbelaus crbelaus merged commit c82b312 into main Jul 22, 2024
@crbelaus crbelaus deleted the dashboard branch July 22, 2024 13:03
@crbelaus crbelaus mentioned this pull request Jul 22, 2024
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.

2 participants