Home / Companies / New Relic / Blog / Post Details
Content Deep Dive

How to monitor a Next.js application with app-based router

Blog post from New Relic

Post Details
Company
Date Published
Author
Mat Wilk, Spence Taylor
Word Count
1,101
Company Posts That Month
22
Language
English
Hacker News Points
-
Post removed?
No
Summary

Next.js 13 has adopted the App Router as its recommended way to handle routing, leveraging React's latest features for optimized speed and performance. To set up application performance monitoring with New Relic, install the agent using npm, modify the next.config.js file, and add configuration files such as newrelic.js and .env. The integration provides comprehensive observability of server-side activities, while also allowing client-side telemetry through the injection of the New Relic browser agent. To capture detailed error information, handle both client-side and server-side errors using code samples provided in the blog post, which can be found in the newrelic-node-examples GitHub repository.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Observability 3 1,612 262 91 +35%
Real-time 1 2,178 673 199 -6%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.