Glossary term
What is instrumentation.ts? Meaning for developers
A root file with register() that runs once at server start and onRequestError() that reports server errors to your monitoring tool.
Learn it properly · Next.js App RouterLesson 8: Environment, Configuration, Deploying and Production HabitsEnvironment variables and what reaches the browser, next.config, building and running, deploying to Vercel and to a container, logging and monitoring.