-
Notifications
You must be signed in to change notification settings - Fork 45
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
Additional app stats #649
Additional app stats #649
Conversation
This endpoint provides app start time along with the stats for open app connections
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
Not sure about the reason, but I’m having 2 problems:
No sure if the behavior is due to my dev enviroment. For testing, I used Appart from that, just a quick question: is the data returned by the |
…itional-app-stats
@Senyoret1 to be fair, can't say for sure. tested it, works for me just fine. but one thing is - you shouldn't setup both apps on the same machine, it's not intended to work and behavior is unknown to me. so, please, try moving the server to some remote machine. and regarding your question - data is in bytes |
I checked using 2 different virtual machines, one for the client and the other for the server, using the current develop branch and it worked well. There was just a problem, at least in my tests: the |
Did you run
make format && make check
?Yes
Fixes #643
Changes:
/visors/{pk}/apps/{app}/stats
endpoint was added. It returns general app stats including its start time in UTC, and connections summary;bandwidth_received
field.