Once the swh-storage metric has been integrated in prometheus, the stats export should use it.
Prometheus data has been exported to a json file similar to the format produced by the Muni/RRD based toolchain.
Results are visible on https://www-dev.softwareheritage.org/archive/
(vs https://www.softwareheritage.org/archive/ for original graphs)
The new toolchain works but we can see a few problems:
- The graph stops at the first hole in the Prometheus dataset (21 march 2019)
- We are missing historical values from October 2015 to December 2018 (not present in Prometheus)
- Even for the first serie of Prometheus data, the form of the graph is too flat
For reference, a "Source files" graph produced by Prometheus itself can be visualized here:
Depending on Prometheus for all data is not a hard requirement.
If it turns out to be impossible to inject historical data in Prometheus, the json creation script itself is authorized to provide the missing timecounter values.