We want to track the network/conversion fees that occurred for a particular outgoing payment.
We should have a new metric payment_fees, that is incremented by the following:
outgoingPayment.sentAmount - outgoingPayment.receiveAmount. Both of the amounts need to be converted to a base currency, how we currently do for the transactions_amount metric.
Context
We want to track the network/conversion fees that occurred for a particular outgoing payment. We should have a new metric
payment_fees
, that is incremented by the following:outgoingPayment.sentAmount - outgoingPayment.receiveAmount
. Both of the amounts need to be converted to a base currency, how we currently do for thetransactions_amount
metric.