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: collect stats on record views and file downloads. #129

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

psaiz
Copy link
Contributor

@psaiz psaiz commented Jan 13, 2025

No description provided.

@psaiz psaiz requested a review from zzacharo January 13, 2025 16:44
@psaiz psaiz linked an issue Jan 13, 2025 that may be closed by this pull request
"doc_type": "record-view-day-aggregation",
"copy_fields": {
"recid": "recid",
"parent_recid": "parent_recid",
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think you have a parent_recid no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, removed


STATS_AGGREGATIONS = AGGREGATIONS_CONFIG

STATS_QUERIES = {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you miss the params.index_interval. Does it make sense to already move it to yearly?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, I'll put it

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

Successfully merging this pull request may close these issues.

Setup invenio-stats on opendata
2 participants