HomeSoftware Heritage

Move metrics handling from backends to RPC server
284a4ab30669Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Move metrics handling from backends to RPC server

Motivation: replaces code duplication in the backends with a single one,
to be consistent with the objstorage (which has many more backends)

This also fixes the issue of metrics from 'extid_add' to be missing
when using the postgresql storage.

Details

Provenance
vlorentzAuthored on Mar 2 2022, 12:17 PM
vlorentzPushed on Mar 2 2022, 12:32 PM
Parents
R65:215162b2c129: Update for swh.core 2.0.0
Branches
Unknown
Tags
Unknown
References
tag: phabricator/diff/26353, tag: phabricator/base/26453

Event Timeline