-
Notifications
You must be signed in to change notification settings - Fork 448
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
Document new usage stats implementation #8014
Comments
PR swagger docu: |
@NateWr, could you please take a look at the PRs? |
I didn't even remember that we had a |
@NateWr, thanks a lot for the review!!! I have considered all your comments, also removed the file from OMP. Would you like to double check it? Else, I would merge, once the tests are passed... Thanks a lot!!! |
I'm happy for you to merge when you're ready. 👍 |
pkp/pkp-lib#8014 swagger stats API documentation
@NateWr, this is the issue that contains the links to the documentation I've done so far -- for you if you start working on it and I am not there... |
@bozana I've put some time into the documentation for stats. I looked through all of your documentation (it's great!) and incorporated much of it into drafts of three documents:
I still need to update the API documentation and include the database descriptions in the DB schema. But the bulk of what you've put together should be in these three drafts. Let me know if I have missed anything important. I had a couple of questions:
Thanks again, all of this documentation was really helpful! |
Hi @NateWr, thanks a lot!!! Institutional stats are stored in metrics_counter_submission_institution_daily and metrics_counter_submission_institution_monthly. Currently they are only used in COUNTER reports accessed/provided via COUNTER SUSHI API. Later we will implement the possibility to download those reports. But, we currently do not plan any other, e.g. internal reporting for institutions. Before running the upgrade:
After the upgrade:
See this PR: pkp/pkp-docs#1029 Hmmm... Currently it is apparently always downloaded... And there is a mistake regarding the chapter COUNTER R5 SUSHI in the admin guide: |
Thanks @bozana!
Can you explain what this means? What exact CLI commands or point-and-click steps should someone take before they upgrade? Is the "current log file" today's log file? What happens to that file that doesn't happen to other files? |
In normal case it means that the scheduled task
In the case when there were some (older) processing errors, i.e. when the folder
Yes, with 'current log file' I mean the today's log file. The upgrade takes care of the today's log file -- the entries in that log file are converted to the new format, so that usage can be continued to be logged in that file. |
Ok, then a couple questions. First, let's assume that the journal is running correctly -- meaning that logs are being processed daily without any errors. In that case:
This way, 95% of system administrators have to do nothing. And it's only when there's a pre-existing problem of some kind that they need to change things up. |
Hi @NateWr, yes that sounds perfect :-) 👍 |
Document the new usage stats implementation:
Document what has been removed with usage stats improvements in this Github issue Improve usage statistics handling in the background/code #6782, and how someone might replace e.g. calls to the removed methods with the new service classes.
The text was updated successfully, but these errors were encountered: