Page MenuHomeSoftware Heritage

Move the object counter from munin to prometheus
Closed, MigratedEdits Locked

Description

The only munin metric that an external tool depends on is the object
counter[6], which is exported from munin to the main website to make the
graphs. The object counter needs to be moved to prometheus, and the export
pipeline needs to be rewritten to use a prometheus query. This should be fairly
trivial as we already use the prometheus sql exporter for other metrics[7,8].

[6] http://munin.internal.softwareheritage.org/softwareheritage.org/prado.softwareheritage.org/softwareheritage_objects_softwareheritage.html
[7] https://github.com/credativ/sql_exporter
[8] https://forge.softwareheritage.org/source/puppet-swh-site/browse/production/data/hostname/prado.softwareheritage.org.yaml$8-33

Event Timeline

douardda triaged this task as Normal priority.Nov 19 2018, 12:27 PM
douardda created this task.
douardda mentioned this in T1356: Kill munin.
ftigeot claimed this task.
ftigeot added a subscriber: ftigeot.

Even though it is not necessarily obvious, the object counter has been stored in Prometheus since December 2018.