rafiki icon indicating copy to clipboard operation
rafiki copied to clipboard

Telemetry - distinction between local and remote transactions

Open beniaminmunteanu opened this issue 11 months ago • 0 comments

Context

We could differentiate between remote and local transactions, and have different metrics for both.

For the 2 metrics that we have now:

transactions_total -> collected in payment>outgoing>lifecycle>handleSending. Distinction can be done by the receiver.incomingPayment.walletAddress being a local wallet address or not

transactions_amount -> collected in ILP connector telemetry middleware. Distinction can be done by the accounts.outgoing being an instaceof Peer or not. (It being Instance of Peer implies that the transaction is remote)

beniaminmunteanu avatar Mar 27 '24 14:03 beniaminmunteanu