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

Create Business Transaction that Containing Error Percentage

m_nasrudin25
Contributor

Hi,

Is possible to create BT to calculate percentage transaction that containing specific error log ?

I have made BT as shown below

Failed Transaction on this BT is 0%, it's mean no failed transaction because a failed transaction is represented by red purepath, right ??

This is when I drill down this BT

I want to calculate the percentage of this transaction that containing error log "java.lang.NullPointerException", is there way to make it ??

Regards,

Nasrudin


2 REPLIES 2

arturomr
Inactive

Hi,

You can calculate the number of purepaths that contain that error by adding to the "Calculate Result" section on the BT a log metric (Functional Health -> Logging -> Count) with the details of the log you want to count (by severity, name and message).

To calculate the percent of the request you must calculate a rate based on that measure, but for me have no sense since you will have the number of purepaths and the number of that log ocurences.

In any case, you can do it if needed!

Regards


Thanks for your answer, I'll try it