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

report user activity on the hub #261

Open
rfeltstykket opened this issue Jan 11, 2022 · 1 comment
Open

report user activity on the hub #261

rfeltstykket opened this issue Jan 11, 2022 · 1 comment
Assignees

Comments

@rfeltstykket
Copy link

For good record keeping, we need to find a way to pull all of the active users for the cluster and log it. It looks like this should be possible from the API endpoints /users and /user here:

https://jupyterhub.readthedocs.io/en/0.9.0/_static/rest-api/index.html

after that we can filter it by some window (e.g. 2 weeks) and log it.

@rfeltstykket rfeltstykket changed the title report active users on the hub report user activity on the hub Jan 11, 2022
@TimStewartJ
Copy link
Member

I'm just now looking into this, it seems to be relatively simple to interact with jupyterhub's api. This also made me realize our metrics data with prometheus and grafana hasn't been persistent so I am looking into adding that now.

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