HomeSoftware Heritage

Allow prometheus to retrieve the counter values

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

Description

Allow prometheus to retrieve the counter values

  • Add a method to get the list of counters on the backend
  • Add an endpoint on the rpc to expose the counters values in the prometheus format
  • The way redis was instantiated by the fixture needed to be changed to always start a new test with an empty redis

Related to T3164

Details

Provenance
vsellierAuthored on Mar 24 2021, 5:13 PM
vsellierPushed on Mar 24 2021, 6:23 PM
Differential Revision
D5321: Allow prometheus to retrieve the counter values
Tasks
T3164: Expose counters in prometheus format
Build Status
Buildable 20180
Build 31326: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.