HomeSoftware Heritage

Move metrics handling from backends to RPC server

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 8 2022, 12:22 PM
Differential Revision
D7276: Move metrics handling from backends to RPC server
Parents
rDSTO215162b2c129: Update for swh.core 2.0.0
Branches
Unknown
Tags
Unknown
Build Status
Buildable 27331
Build 42751: test-and-buildJenkins console · Jenkins