It would be very useful if llarp.get_status exposed cumulative traffic counters in addition to the current transfer rates.
At the moment it provides fields like:
These are useful for monitoring current bandwidth usage, but they don't allow tracking the total amount of transferred data since the daemon started.
It would be helpful to expose something like:
{
"rxTotal": 123456789,
"txTotal": 987654321,
}
This would make it possible to build lightweight monitoring tools without having to integrate bandwidth over time, which is inaccurate if polling intervals are irregular.
This can also be used in lokinet-gui and lokinet-control-panel for providing the user with more useful information and allowing him to monitor traffic consumption.
It would be very useful if
llarp.get_statusexposed cumulative traffic counters in addition to the current transfer rates.At the moment it provides fields like:
rxRatetxRateThese are useful for monitoring current bandwidth usage, but they don't allow tracking the total amount of transferred data since the daemon started.
It would be helpful to expose something like:
{ "rxTotal": 123456789, "txTotal": 987654321, }This would make it possible to build lightweight monitoring tools without having to integrate bandwidth over time, which is inaccurate if polling intervals are irregular.
This can also be used in lokinet-gui and lokinet-control-panel for providing the user with more useful information and allowing him to monitor traffic consumption.