On this page

Logs and monitoring

Console output, errors, invocations and response times of every function.

#Logs

The Logs tab shows what your function writes with console.log, console.warn and console.error, plus start-up errors and stops caused by the CPU, memory or time limits. Filter by level, search the messages, or leave Live on to see new lines as they arrive (within about 10 seconds). The tab shows the last 7 days, up to 50,000 lines per function; older output, up to your plan's log retention, is on the project's Logs page under Edge Functions; a function that writes more than 200 lines in 10 seconds has the extra lines dropped for a moment.

#Metrics

The Overview tab shows invocations, server errors (5xx), and the median and 95th percentile response time of the last 24 hours, and the project's invocations this month. Requests rejected before your code runs (missing or invalid JWT, unknown function) are not counted.