-
Notifications
You must be signed in to change notification settings - Fork 184
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
Can you add a Http or Socket query interface for total upstream and downstream traffic? #24
Comments
Sure, why not! Can you give examples of software you know that do similar things, so that I don’t reinvent the wheel? |
I don't find any similar software, my requirement is to query all the upstream and downstream traffic of rinetd through API. |
For example: rinetd.conf command protocol: |
Python client example code
Linux socat program example
The console will output |
It is recommended to use udp protocol to provide traffic query. |
You might want to look at exposing this information via a prometheus metrics page. There's a C library for this. |
Can you add a Http or Socket query interface for total upstream and downstream traffic?
The text was updated successfully, but these errors were encountered: