Project

General

Profile

Actions

tickets #69535

closed

Obtain package download statistics at metrics.opensuse.org

Added by witekbedyk over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Servers hosted in NBG
Target version:
-
Start date:
2020-08-03
Due date:
% Done:

100%

Estimated time:

Description

The goal of this activity is to extend the statistics data available at metrics.opensuse.org and add information about individual packages downloaded.

Actions #1

Updated by witekbedyk over 3 years ago

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
Actions #2

Updated by witekbedyk over 3 years ago

  • Private changed from Yes to No
Actions #3

Updated by ddemaio over 3 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 100

Closing ticket. Thank you witekbedyk.

Actions #4

Updated by ddemaio over 3 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF