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.
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
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.
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.
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 :=)
Thanks for your time and your post, very interesting (Merci beaucoup).
I have 2 questions if possible:
Same thing for me I want to split each Generic Exception By message, or filter by message... (one generic exception have a lot of exceptions: the difference is the MESSAGE).
Second thing, the result is not correct for me
I use this calculated metric
and that is the result:
in the diagnostic tool:
Question: why the system count 4*2 (8Exceptions) knowing that I have only one Purepath that have 2 exceptions with the same message
Thanks for your help.
Good question, to my understanding : You are using executing 4X the same lib time your webrequest.
To confirm, is you made a purepath/purepath., you should have same information. (Exception)
This exactly why, i group "message". Try to add "Exeception class" in dimension field. Should be help.
It's complex to create "familly of message" in level of Webservice, this is why i prefer looking side SQL execution, you find some very valuable informations.
To my perception, read message in real time, it's incredible powerfull for RUN teams., you can catch "Token issues", "cerficate expired", "every applicative errors" .
Hop can be help