-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Issue with Rx/Tx statistics #208
Comments
Yeah, it just takes the value from WireGuard for each connected peer and shoves it into the database, overwriting what's already there from other instances or before restarts. Is it important for you that the data is correctly summed? |
not very important, but I really want this feature. if necessary, I can help with testing this functionality |
By the way, it might be better to use the following algorithm:
|
To my knowledge WireGuard doesn't allow us to clear or edit the bytes counter, only read it |
Hi!
I have installation of wg-access-server in kubernetes with postgres backend.
The statistics of received/transmitted bytes are not working correctly. It seems that when updating data in a multi-replicated installation, the data is not summarized, but overwritten.
Application version:
wg-access-server:v0.6.0
Do you have any ideas how to fix this?
The text was updated successfully, but these errors were encountered: