Skip to content

Feature Request: Add total RX/TX counters to RPC status #2287

Description

@pasabanov

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:

  • rxRate
  • txRate

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions