Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose client stats of records/bytes transfered #28

Open
nemanja-boric-sociomantic opened this issue Nov 8, 2017 · 3 comments
Open

Comments

@nemanja-boric-sociomantic
Copy link
Contributor

Client should allow inspecting the number of bytes/records transferred for each connection.

@gavin-norman-sociomantic

The number of bytes transmitted per connection is already available via https://github.com/sociomantic-tsunami/swarm/blob/v4.x.x/src/swarm/neo/client/mixins/ClientCore.d#L393-L430. This might be sufficient. (I'm not sure what the use case for this issue is.)

Example of use: https://github.com/sociomantic-tsunami/dhtproto/blob/neo/src/dhtproto/client/UsageExamples.d#L689-L698

@nemanja-boric-sociomantic
Copy link
Contributor Author

Yes, I think that's sufficient. I've opened the issue, as I'm not sure that dlsclient currently is exposing this functionality.

@gavin-norman-sociomantic

I think it's built into the client, but yeah, have a check.

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

No branches or pull requests

2 participants