We want to use dynaTrace to track our nightly jobs This will only generate one purepath per day However, I want to be alerted with an incident if this job fails
Whats the best way to accomplish this?
I did a search and didn't find anything that referenced this scenario
Answer by Andreas G. ·
One violation per day is probably NOT significant - therefore I would go with the approach I told you
Answer by Andreas G. ·
Assuming that the "failure status" of your job can be identified through a certain Exception that is thrown you could set up an Incident when this particular exception is thrown. Or - if it is not an exception then I am sure there is something else that tells you whether the Job failed. All you need is a measure that identifies that error, e.g: "Count of Exception" or "Count of special Error Message Invocation", ... - then set the upper severe threshold to 1 and use it with an Incident.
that should work
I will give that a shot since in this case we are throwing a specific exception
Could I also get it to work this way? Add it as a Business Transaction and then add it to the Application Overview dashboard for baselining/monitoring. Then create a static failure rate of 0%? So if it fails, it will register a failure Does this need "significant measurements" for the failure rate to throw an alert? If so, it won't work since there is only one purepath per day
JANUARY 15, 3:00 PM GMT / 10:00 AM ET