Error Reporting

How errors are reported to engineering

Frontend Errors

Frontend errors can be reported via the Error Reporting Service. This is a serverless function that takes a payload and reports the error to Slack. An example of how it works can be found in the SPA code. Multiple Slack channels can be used to notify multiple teams if required.

Error Report Service

Backend Errors

Each individual service is responsible for their own backend notifications. A common theme is to create a CloudWatch Logs metric filter on the service log group, then notify Slack if it logs an error level event. Some services use the Slack SDK directly.

See Graphite for an example of the CloudWatch metric filter and Qualification Service for using Slack directly.

CloudWatch Metric Filter

Qualification Service