This repository contains a tool for scraping EDA usage metric data and generating tabular reports. The reports scrape data from the following sources:
Note that the data model and scripts assume a monthly cadence of reports.
To test, you need to install the usagemetrics module and run the run.py
script. You also need access to a working VEuPathDB EDA site URL and prometheus instance.
pip install .
./bin/run.py <ENV> <EDA_URL> <PROMETHEUS_URL> <CALENDAR_MONTH|YYYY-MM>
Our repo contains a Jenkinsfile to enable generating our metric reports automatically on a schedule.