openlibhums / openlibhums/janeway
Consider COUNTER list of robots when capturing article level metrics
@mauromsl is already working on this.
Since Jan 23, 2025.
- Dominant language
- Python
- Stars
- 238
- Forks
- 97
- Avg merge
- 9d 1h
- Merged PRs (30d)
- 8
Description
Is your feature request related to a problem? Please describe.
While Janeway does capture metrics adhering to the COUNTER method, we use a different list for filtering out accesses made by bots.
Describe the solution you'd like
When deciding to capture an article level access record, we should check the request headers against counters robots text list:
https://github.com/atmire/COUNTER-Robots/
I'd recommend that any records that pass our filtering but is on the list of COUNTER robot should still be recorded, but flagged as not counter compliant. With this approach we can measure its impact.
Describe alternatives you've considered
The alternative is to discard metrics that are not compliant with COUNTER robots, but this approach would lead to a skew in the metrics for existing installations, without a mechanism to understand its impact
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.