Skip to content

Add metric to monitor "save code now" efficiency

This only deals with the finalized save code now statuses (succeeded, failed) as it's the only information referenced in the model.

Related to swh/infra/sysadm-environment#1481 (closed)

direct metrics: 2021-04-08_16-10-04

which allows to have a rate tendency graph: 2021-04-08_16-10-47

avg over time: 2021-04-09_12-26-36

Test Plan

docker, save code now and checking metrics out of the endpoint and prometheus graph as in the screenshots ^


Migrated from D5463 (view on Phabricator)

Merge request reports