Test and ship
Metrics and alerts
Charts of requests, errors and latency per function, and email or Slack alerts when errors spike.
#Metrics
Each project records hourly metrics per function:
- Requests, split into live and test.
- Responses by class: 2xx, 3xx, 4xx and 5xx.
- Duration — average and distribution.
View them by hour or by day for up to 90 days. Use them to spot slow functions, error spikes and traffic trends.
#Alerts
Get told when your API breaks. In the project's settings, open Alerts:
| Setting | Options |
|---|---|
| Trigger | At least N errors, or at least N% of requests failing (once there are 20 requests) |
| Window | 5, 15 or 60 minutes |
| Workspace members who get alerts | |
| Slack | Post to a Slack channel through an incoming webhook |
Errors are server errors (5xx) from live traffic. Use Send test alert to check delivery.
Or ask the assistant: "email me if more than 5% of requests fail in 15 minutes".
#Status page
Share a public page showing how each function is doing. See Status page.