4 ms·
Are you using server side rendering? If so, did you end up writing a custom server, or are you monitoring your website some other way? My team is developing a
by shitlord 3y ago
Are you using server side rendering? If so, did you end up writing a custom server, or are you monitoring your website some other way?
My team is developing a server-rendered nextjs app which is deployed on AWS. We haven't really configured it beyond the defaults, but nextjs seems to provide very little visibility into what's happening (e.g., no request logs).
If you could share any tips or lessons learned from operating a production nextjs app, it would be much appreciated.
- cbovis 3y agoHave you considered NextJS middleware to decorate with request logging? https://nextjs.org/docs/pages/building-your-application/routing/middleware https://nextjs.org/docs/pages/building-your-application/rout...
- shitlord 3y agoThanks, that is helpful. The OpenTelemetry integration seems like it will provide the most useful insights.
- willcipriano 3y agoYour load balancer/http server should have the request logs, are you running it bare?