-
Notifications
You must be signed in to change notification settings - Fork 161
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
Is it possible to monitor socketio application by events #141
Comments
Hi, Does your app use Flask at all? This library is for easy integration with Flask, otherwise you might want to check out the underlying Prometheus client library at https://github.com/prometheus/client_python |
Yes my app use flask and other library which wrap it is the https://github.com/miguelgrinberg/Flask-SocketIO library so I am thinking to use this. If this has only http support if we can add something like this nodejs implementation |
Excellent, thanks! I wasn't aware of that integration. |
Yeah sure I am trying understand how the socketio and underlying technique work so far I got that basically this integration create a http long polling connection after that it transmit the events and get data from clientside. I will update this issue after sometime I get or anykind of discussion related to this. Possibly I am also thinking to contribute the methods for only socketio apps or examples in this repo. I will try those helper functions. |
So far I created a histogram and counter object with listening and receiving event label.Then I created a decorator function which I put on the top the listening event every-time that function receive some data it count and give the observed events. Now it's not the most efficient way but it gives the result back. |
Hello,
Currently I am using python socketio for creating socket app , it it possible to monitor the app using this.
The text was updated successfully, but these errors were encountered: