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

How to log connection details when using voila stand alone? #512

Open
tonywang531 opened this issue Jan 10, 2020 · 2 comments
Open

How to log connection details when using voila stand alone? #512

tonywang531 opened this issue Jan 10, 2020 · 2 comments

Comments

@tonywang531
Copy link

I have been using voila for a while now, and it works great. However, I have been wondering how can I observe how many connections have been made during the day and ideally with timestamp as well? I am launching voila from anaconda prompt and I wish there is a way to log these things like the python logging module.

@jtpio
Copy link
Member

jtpio commented Jan 10, 2020

For now, this could be done outside voila by building metrics from a log of requests, for example if Voila is served behind a reverse proxy such as nginx:

GET /example.ipynb
GET /dashboard.ipynb
...

@jtpio
Copy link
Member

jtpio commented Jan 10, 2020

We could also check how to make use of the metrics from jupyter_server directly, once voila switches to being an ExtensionApp.

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

No branches or pull requests

2 participants