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

Provide user statistics #41

Closed
tofuwabohu opened this issue Dec 29, 2024 · 6 comments
Closed

Provide user statistics #41

tofuwabohu opened this issue Dec 29, 2024 · 6 comments

Comments

@tofuwabohu
Copy link

Hi, thanks for building this!

paperless-nginx provides /api/users and /api/groups which which would be interesting to monitor (mostly the numbers).

@hansmi
Copy link
Owner

hansmi commented Jan 16, 2025

Just like #39 this will/would require changes to the underlying Paperless-ngx client library.

@tofuwabohu
Copy link
Author

But why? Since the API points are exposed already

@hansmi
Copy link
Owner

hansmi commented Jan 22, 2025

The API was exposed already, yes, but (my) client library didn't return the information. I've changed that now in hansmi/paperhooks@43b1b91.

@hansmi
Copy link
Owner

hansmi commented Jan 22, 2025

@tofuwabohu, I opened pull request #49. Do you want to review?

@tofuwabohu
Copy link
Author

Oh, I misunderstood you with the library first. Thanks for clarification and adding it!

The example metrics look good to me, thanks again! I'm not able to review go code unfortunately.

@hansmi
Copy link
Owner

hansmi commented Jan 22, 2025

Thank you for your quick reply. I've merged #49 and it'll be part of the next release.

@hansmi hansmi closed this as completed Jan 22, 2025
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