Datadog error tracking?
Unanswered
Rhinelander posted this in #help-forum
RhinelanderOP
Any idea how you can use Datadog's error tracking feature with the app router? https://docs.datadoghq.com/integrations/rum_react/#error-tracking
They want you to either use their ErrorBoundary component or integrate into the componentDidCatch function of your own error boundary component. However, Next only seems to offer a way to customize the fallback error, not the boundary itself: https://nextjs.org/docs/app/getting-started/error-handling#handling-uncaught-exceptions
They want you to either use their ErrorBoundary component or integrate into the componentDidCatch function of your own error boundary component. However, Next only seems to offer a way to customize the fallback error, not the boundary itself: https://nextjs.org/docs/app/getting-started/error-handling#handling-uncaught-exceptions
1 Reply
there's this guide for next app router
https://docs.datadoghq.com/real_user_monitoring/guide/monitor-your-nextjs-app-with-rum/?tab=npm
https://docs.datadoghq.com/real_user_monitoring/guide/monitor-your-nextjs-app-with-rum/?tab=npm