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

Create problem alert from Errors or Exception message

Hello everyone,

 

 

The customer need to Dynatrace alert problem notification to their team if Dynatrace facing Exception message like on picture above (yellow highlight). Dynatrace can do it ?

 

Thank in advance,

 

4 REPLIES 4

sebastian_kryst
DynaMight Leader
DynaMight Leader

I think there is no direct way to do this. Dynatrace is alerting on failures rate itself not about particular exception. There is no option in custom alert for this as well (at least I didn’t found it). But if this is exception it should be visible in process logs as well, am I right? If yes and you have log analytics license that is covering size of this log, you can alway create log based event:

https://www.dynatrace.com/support/help/how-to-use-dynatrace/log-monitoring/log-analysis/analyze-log-...

In such case problem will be fired based on this.

Sebastian


wolfgang_beer
Dynatrace Leader
Dynatrace Leader

The upcoming improvement of the custom events and alert configuration will allow you to define an alert on a custom service metric. A custom service metric could be defined to catch your specific error code and count those occurrence. The alert would then be sent out if the occurrence count is above your selected threshold.

As I mentioned this is an upcoming feature that you can request as a preview in Dynatrace release 176.

Best greetings,

Wolfgang


Would it cover metrics made based on exception? Because as I understand here, response code is not issue (can be caused by multiple other exceptions).


Sebastian


larry_roberts
DynaMight Champion
DynaMight Champion

Hhhhhhmmmm..... I was just poking around trying to figure this one out myself. You are correct I believe. Event today on the latest release, I do not see anything dealing with exceptions in the "Custom event for alerting" under services. I have a team would had some exceptions under a service and would like to raise a problem when they are detected.

I was looking at "Error detection" and "Custom errors" under the service, but I am not confident that anything in there would trigger a problem based on an exception.