HomeSoftware Heritage

replay: use tag based statsd probes

Description

replay: use tag based statsd probes

instead of puting everything in the metric name.
Note that this will change existing metric names:

  • swh_journal_content_replayer_(get|set)_duration_seconds is replaced with swh_content_replayer_duration_seconds,
  • swh_journal_content_replayer_bytes_total -> swh_content_replayer_bytes,
  • swh_journal_graph_replayer_object_type_total_duration_seconds (sic) -> swh_graph_replayer_duration_seconds,
  • swh_journal_graph_replayer_<objtype>_total -> swh_graph_replayer_operations_total

Tags are

  • 'request': ('put' | 'get') for the content replayer durations, and
  • 'object_type': ('content'|'directory'|'revision'|'snapshot'|'release'| 'origin'|'origin_visit') for graph replayer probes.

Details

Provenance
douarddaAuthored on Nov 29 2019, 2:58 PM
douarddaPushed on Nov 29 2019, 3:35 PM
Differential Revision
D2377: replay: use tag based statsd probes
Parents
rDJNL3f61999d2d08: replay: add a bit of statsd probing in process_replay_objects
Branches
Unknown
Tags
Unknown
References
tag: v0.0.21
Build Status
Buildable 9450
Build 13874: test-and-buildJenkins