-
Notifications
You must be signed in to change notification settings - Fork 1
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 total statistics metrics #39
Comments
I had a quick look at what's necessary/possible. Statistics aren't part of the documented REST API.
Implementation: |
Enable reproduction of the "Documents in inbox" count reported on Paperless-ngx' main page when combined with the document count per tag. Relates to issue #39.
The "inbox" tag flag is reported as a metric with df7648d. "Total documents" will/would require changes to the underlying Paperless-ngx client library. @jan-di, do you have a usecase other than "it would be great"? |
No, actually not. Its just for measuring growth as I thought its just an API that can be piped through to metrics. I'm instead thinking of providing a docs MR to paperless, maybe the statistics API is already official but just not documented. If its assured that it is stable, this would make this issue much easier. |
@jan-di, inspired by #41 I've added a document count in 071024d. It will be part of the next release. In summary that makes the implementation of what's done easily without additional documented APIs complete (c.f. #39 (comment)). |
It would be great, if the exporter also provides metrics that represent the statistics from the UI:
The text was updated successfully, but these errors were encountered: