Telemetry for local payments (incoming to outgoing within the same Rafiki instance) #2505
Replies: 5 comments 6 replies
-
Thinking about this, if the goal of the project is to only track the activity of the network we should not count "local" payments at all, which includes changing how we This means the actual telemetry tracking should probably live primarily within the ILP connector, if we want to track ILP network traffic. This way, we could track the number of individual packets being sent as well, if we want to. |
Beta Was this translation helpful? Give feedback.
-
I think we should also be pretty liberal with adding metrics, and we can always differentiate between local & network payments, ie: local transactions: Likewise, we can later (if we want) think about tracking the amount of Open Payments transactions, ie how many incoming payments were created, how many outgoing payments etc. Those should be tracked in a separate place, away from the ILP connector. |
Beta Was this translation helpful? Give feedback.
-
@beniaminmunteanu can you remind me about the issues of adding telemetry inside the ILP connector middleware? For example, if we add a middleware for telemetry operations after |
Beta Was this translation helpful? Give feedback.
-
Let's add it to the connector. I'm not even sure my comment made sense back then, just because we want to measure how the ILP network is growing, not the adoption of Rafiki. In terms of local vs. network, I agree with @mkurapov, let's just try to capture both. But let's be consistent regarding amounts and counts. |
Beta Was this translation helpful? Give feedback.
-
Thanks! Created #2531, and added it to my plate. Feel free to re-assign if you consider so. |
Beta Was this translation helpful? Give feedback.
-
reference to an older discussion that was on the telemetry PR:
Telemetry has 2 environments, named TESTNET and LIVENET. Rafiki.money is currently sending metrics to the TESTNET infra.
However, transactions that represent actual amounts/values that are flowing through the network are disregarded, as the implementation does not consider local payments as a means to observe the network's growth (which is the telemetry goal)
As such, rafiki.money and any other deployment that would have local payments only track transactions count at the moment.
Looking to clarify and continue the discussion if local payments is something we want to track, and also get some ideas on the changes required.
Beta Was this translation helpful? Give feedback.
All reactions