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 ??
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!