Analyze Node.js errors down to the code level

Beginning with OneAgent v1.73, Dynatrace provides root cause analysis for Node.js errors down to the code level. As with other services, Dynatrace marks web requests to Node.js as failed based on the accompanying HTTP error code.

Simply click the Failure rate portion of any Node.js service infographic to view the Failure analysis chart. If you have failures, click the View details of failures button to see which requests failed along with an overview of failure reasons sorted by HTTP code. You can select a single request to focus on.

Node.js errors

At the bottom of the screen you’ll see the exceptions that are the root causes of the selected failure and request. Click any Details button to view a list of exception messages and associated stacktraces.

Node.js errors

Dynatrace doesn’t simply show you a list of exceptions. As you can see below, Dynatrace shows you the root causes. For example, all failed requests to /error-4 were caused by a single exception in a single line of code!

Node.js errors

Those who know me know that I'm passionate about 3 things: rock climbing, physics, and performance. I've worked in performance monitoring and optimizations in enterprise environments for the better part of the last 10 years. Now as a Product Manager I am doing my best to build those experiences into Dynatrace.

Looking for answers?

Start a new discussion or ask for help in our Q&A forum.

Go to forum