FAIRDataPoint
FAIRDataPoint copied to clipboard
Metrics gatherer
As a system administrator, metadata provider or data steward, I want to know how many times my metadata records (and metadata schemas) have been accessed, So that I can evaluate its effective usage.
Every time a metadata record or metadata schema has been requested (HTTP GET), the request should be logged. In the provided FDP Client, whenever a metadata record that is a container (i.e., contains other metadata records) is displayed, its contained members are displayed as "summary cards". In this case, we should NOT count as access to the contained records.
Acceptance Criteria:
- [ ] Criteria 1: An API endpoint is available providing information about the usage of each metadata record and metadata schema, following Spring's actuator metrics approach.
- [ ] Criteria 2: A dashboard-like page should be available at the FDP Client displaying a summary of the available resources (e.g., number of metadata records per resource type, number of metadata schemas available) together with access statistics (e.g., number of access to the metadata records and schemas, time distribution of the access, geographical location of the requesters, etc.).
- [ ] Criteria 3: Validated against the ERDERA's KPI requirements.
Definition of Done:
- [ ] All acceptance criteria are met.
- [ ] Code is reviewed and approved.
- [ ] Necessary tests are written and pass.
- [ ] Documentation is updated, if applicable.
- [ ] Feature is deployed to app.fairdatapoint.org and index.vp.erdera.org.