We use vercel platform to deploy nextjs application and serverless API. vercel simplifies lot of stuff but monitoring the performance, http errors and exception not so easy.

Every time something goes wrong in SSR part or Serverless API, need to go to deployment function logs tab to view exception logs and stack trace in vercel.

Alt Text

So we have built monitoring solution https://nextapm.dev and npm module to monitor the performance and errors in the application and that can viewed in the common dashboard.

https://www.npmjs.com/package/nextapm

This module will capture response time, request count, http errors and exception of incoming web requests. These metrics will reflect in real time in the dashboard.

Alt TextAlt Text

You can create similar monitor in https://nextapm.dev from your account. Monitor can be configured with in a minute.

Currently working on to include more features like alerting, reporting, etc. Please try and give your feedbacks.

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐