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

stats: configure stats for documents and files #501

Merged
merged 1 commit into from
Feb 26, 2021
Merged

stats: configure stats for documents and files #501

merged 1 commit into from
Feb 26, 2021

Conversation

sebdeleze
Copy link
Contributor

  • Installs invenio-stats library.
  • Configures the collect of stats for documents views and files views.
  • Fires the view event in custom documents detail view.

Co-Authored-by: Sébastien Délèze sebastien.deleze@rero.ch

@sebdeleze sebdeleze marked this pull request as ready for review February 22, 2021 14:51
@sebdeleze sebdeleze requested a review from jma February 22, 2021 14:52
@sebdeleze sebdeleze added the new feature New feature label Feb 22, 2021
* Installs `invenio-stats` library.
* Configures the collect of stats for documents views and files views.
* Fires the `view` event in custom documents detail view.

Co-Authored-by: Sébastien Délèze <sebastien.deleze@rero.ch>
'invenio_stats.contrib.event_builders:build_file_unique_id',
],
# Keep only 1 file download for each file and user every 30 sec
'double_click_window':
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great feature

@sebdeleze sebdeleze merged commit 708882b into rero:staging Feb 26, 2021
@sebdeleze sebdeleze deleted the sed-store-stats branch February 26, 2021 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants