osf.io icon indicating copy to clipboard operation
osf.io copied to clipboard

[ENG-6264] add monthly "item usage" report

Open aaxelb opened this issue 5 months ago • 0 comments

Purpose

compute monthly "usage" metrics for public items on osf

Changes

  • add osf.metrics.reports.PublicItemUsageReport (elasticsearch metric document model)
  • add osf.metrics.reporters.public_item_usage.PublicItemUsageReporter (monthly reporter)
  • in osf.metrics.counted_usage, add get_item_type and get_provider_id for consistent reuse with the new reporter

QA Notes

Please make verification statements inspired by your code and what your code touches.

  • Verify
  • Verify

What are the areas of risk?

Any concerns/considerations/questions that development raised?

Documentation

Side Effects

Ticket

aaxelb avatar Sep 20 '24 20:09 aaxelb