Detailed Report on User Errors

User Errors Deep Dive

Question: For each page p, what errors have been thrown and what is their breakdown by type?

We have partially answered this question in the dashboard by looking at the number of errors logged per page in a bar chart and a grid that provides a listing of error events that have been recorded client-side (using the collector.js script).

However, a more detailed analysis (mini-dashboard) can be done using the following per page that has at least one error:

  1. A number showing the number of errors that occurred on that page.
    • This helps give a sense of how error-prone the page is.
  2. A pie chart showing the breakdown of error events by event type.
    • This lets the developer / administrator know what kind of errors have been logged at a glance (e.g., console_error vs. error).
  3. A bar chart showing the frequency of each particular error event (to see which errors happen the most often); this is helpful assuming that some error messages are repeated.
    • x-axis: Error event message string.
    • y-axis: Frequency of each error event message string (as it appears in the data).
  4. A grid that contains a listing of the error events that occurred on that page.
    • This allows for a deeper dive into the errors that have occurred on that page (this is essentially allowing for raw data consumption and so is added last since it's only relevant if the developer / administrator wants to critically analyze the errors that have occurred on this particular page)

Below, a section will be added for each page's metrics, assuming it had logged at least one error. These will be sorted in descending order of page error rate.

Note to the TA: There might be some easter eggs in those error logs...