HomeSoftware Heritage

stats_exporter: Refactor and add docstrings to export script

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

stats_exporter: Refactor and add docstrings to export script

This:

  • refactor a bit into multiple functions with docstrings.
  • simplify the data computation
  • prepare the code to make it parametric

In another step, we could thus improve to make the script parametric. Have it
use server, port, object type data to graph etc... as input so that the cron
explicit those (from puppet manifest's).

Details

Provenance
ardumontAuthored on Aug 10 2019, 1:25 PM
ardumontPushed on Aug 26 2019, 3:57 PM
Differential Revision
D1841: stats_exporter: Refactor and add docstrings to graph data export script

Commit No Longer Exists

This commit no longer exists in the repository.