Page MenuHomeLubuntu Development

Lubuntu Project Metrics
Updated 129 Days AgoPublic

THIS PROJECT IS CURRENTLY IN ALPHA

This is the page describing the internals of how the Lubuntu Project Metrics system works. Don't worry, this isn't any user data. This is just statistics from Lubuntu Development to see where we can best devote our resources.

What does it record?

As of right now, it only records Jenkins data. As time progresses and we think of more things to add, the below subsections will grow.

All of this is currently being added to a SQLite database on a dedicated production container. There is currently no frontend, although it is not difficult to access the data if you already have SSH access. The metrics script from rMETRICS Lubuntu Project Metrics is ran once an hour on the container, and here is the crontab entry:

@hourly . $HOME/.profile; git -C $HOME/metrics/ pull; (cd $HOME/metrics && ./metrics --db-location /srv/metrics/master.db; sudo mv output/* /var/www/html/; sudo chown -R www-data:www-data /var/www/html/)

~/.profile contains some secrets which only prod will ever know.

Jenkins

Here is the jenkins table layout:

  • date is the primary key, and it is the Unix timestamp as an integer.
  • nonpassing is the number of !(SUCCESS) jobs as an integer.
  • failing is the number of FAILURE jobs as an integer.
  • total is the total number of jobs on the Jenkins server as an integer.

Reports

The reports are very crude.

Currently the following reports are created from the data:

Last Author
tsimonq2
Last Edited
Jun 19 2020, 8:35 PM

Event Timeline

tsimonq2 created this object.Jun 19 2020, 2:08 AM
tsimonq2 edited the content of this document. (Show Details)Jun 19 2020, 5:12 PM
tsimonq2 edited the content of this document. (Show Details)Jun 19 2020, 5:30 PM
tsimonq2 edited the content of this document. (Show Details)Jun 19 2020, 8:35 PM