Showing results for 
Show  only  | Search instead for 
Did you mean: 

Chart exception count filtered by message




Can we chart exception count filtered by exception message?

Any workaround if it is not possible out of the box?


Thank you!


Digital Performance Optimizer

Dynatrace Leader
Dynatrace Leader

You con't do that out of the box because to do that we would need to be storing long term a metric for every exception which would be way too any timeseries metrics and use up a lot of storage.

What you can do though is create a calculated service metric with the source as request count and filtered down to the specific exception class or message that you are interested in. Then a new metric will be stored for that exception and you can chart it or use it to create alert events as needed.


Hello Martin,


Yes, it's possible. For this you must create a "Calculated service metrics"

In this exmple i would like track the locktable with Dynatrace.


Use "exception class" and select what typologie of exception you would receive (In my exemple it's for SQL request).



Dont forget to split with Dimension : Exception class and message 


last step : 

Create a custom Dashboard with your metric inside like standart metric.


If you would like to navigate to your exception, you must create a direct link to "Multidimensionnal analysis"  like this  : 




Hope can help you



Julien D. 



Hi all,

Once the metric is collected, is there any way to drill down or find the purepath that have the exact exception message and thus related to an exception message metric ?


There is a filter for exception class but the exception message filter does not seem to exist.




Hey Alain,

The exception class is bug. You cannot retrieve your exact message with it.

Thats why i play with differents scenario : 



1rst : Select the service and filter with exception details, (working well but cannot transform into a dashboard unftornatly).

2nd way : Set requests attributes and filter with for display all transactions you are looking for. You can retrieve this information with Purepath or Diagnostic tool, does not matter.

Thanks Julien,

There is no "exception message" filter available in the service MDA analysis view, only "exception class". Since the "exception class" in our case is general and applies to many transactions and the "exception message" is the only thing specific to the purepath we're looking for, seems we're out of luck.



Usually, i'm looking generical message, who can be relevant like that. I'm dril down on my critical service.. and show messsage "exception message". It's little bit boring, but it's much easier to drill down in ton of log files :=)