Error Management
Error types
Errors can generally be categorized into different types based on their origin and nature.
-
System Errors (Bugs): These errors stem from issues within the codebase, misconfigurations, or infrastructure failures and are generated from automated monitoring tools (see Observability for more details).
-
User / Client errors: These errors occur when user input does not meet predefined criteria or business rules. Examples: missing required fields in a form submission, user is not authorized, a resources is not found.
-
User-Reported Errors: These are issues that users encounter and report, which may not have been captured by automated monitoring. They can be UI glitches, unexpected behavior.
Datadog Integration: Error Reporting
- Datadog: Browser Error Tracking
- Datadog: Error Tracking for Backend Services
- Rails: Error Reporting in Rails Applications
Error Tracking and Alerts (WIP)
Tracking Errors in Asana
Errors can originate from Datadog monitoring or be reported by users. Both sources require a triage process to determine the validity and severity of the issue. Once a bug is confirmed, it should be tracked in the Bug Tracking Asana project (TBD).
- Datadog-Generated Issues: Datadog can be configured to automatically create an Asana ticket.
- User-Reported Issues: These require manual ticket creation in Asana. Note: in the future our Support Ticketing System might do this automatically.