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.
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.
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.
所有评论(0)