tickets #69535
closed
Obtain package download statistics at metrics.opensuse.org
Added by witekbedyk over 4 years ago.
Updated almost 4 years ago.
Category:
Servers hosted in NBG
Description
The goal of this activity is to extend the statistics data available at metrics.opensuse.org and add information about individual packages downloaded.
The code updating the scripts for parsing the access logs and aggregating the data has been updated and tested.
https://github.com/openSUSE/openSUSE-release-tools/pull/2464
Issue:¶
Current code caches daily statistics on the disk. These cache files are used to tag the days on which the scripts were run and to aggregate the statistics from different log files.
Extending the collected data by package statistics increases the size of cache files by around 2-4 times. Currently the cache files occupy already ~15 GB of disk space. The disk has ~7.7 GB free space available.
Next steps:¶
Change the scripts to:
- write statistics directly to InfluxDB instead of cache files
- use lock files to mark execution days
- aggregate measurements in InfluxDB
- Private changed from Yes to No
- Status changed from New to In Progress
- % Done changed from 0 to 100
Closing ticket. Thank you witekbedyk.
- Status changed from In Progress to Resolved
Also available in: Atom
PDF