Skip to Main Content

CQL to calculate % o success / failure of transactions

Daniel Amadei-OracleJul 27 2014 — edited Aug 7 2014

Hi all,

I've a stream where I receive transactions and I need to calculate the success rate among the transactions. The info if the transaction is failed or not is a field of the event.

I'm not able to figure how to do that as when I do a group by the tx status, I can only get the amount of OK / FAILED transactions as two different output events, however I needed this as a single event with 2 attributes to calculate the total and then the failure rate.



Post Details
Added on Jul 27 2014
1 comment