Reasons for failed requests - Plot over time?

Dynatrace allows me to plot an exception over time as below.

Is there a way to plot or query the Message within the exception over time like the below?

Hello Benjamin,

To answer you quickly, yes it is possible via Request Attribute. 
Thus, to have to do this properly, you have to select your Exception class name, please see below the screenshot :

Afterward, you will be able to plot onto your MDA chart as new detected placeholder, and eventually convert to custom metrics (calculated service metrics). 
Thanks

Alas! I am using Node.js and cannot find the corresponding Request attribute source as you have shown for Java.

I’m assuming for Node.js the SDK approach is going to be suggested.

Thanks for the Information. I consider it answered for “supported technologies”

Yes indeed, need to do some customisation here. 
Capture any request attributes using OneAgent SDK | Dynatrace news
Github link : GitHub - Dynatrace/OneAgent-SDK-for-NodeJs: Enables custom tracing of Node.js applications in Dynatrace · GitHub

Thanks

I have found another approach for nodeJS.

Create an exception based custom metric and in the advanced settings it allows you to split by
Exception:Message

Hi @benjamin_mullan ,
Thanks for sharing, yes indeed you can use by custom metric (Calculated service metric), only if your dimension {Exception:Message} has enough parameters to get it. Otherwise, you have to configure via Request Attribute to deep dive on it and hope to pull more content into parameter.