Page MenuHomeSoftware Heritage

replay: use tag based statsd probes

Authored by douardda on Nov 29 2019, 3:10 PM.



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.

Diff Detail

rDJNL Journal infrastructure
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

douardda created this revision.Nov 29 2019, 3:10 PM
olasd accepted this revision.Nov 29 2019, 3:14 PM
This revision is now accepted and ready to land.Nov 29 2019, 3:14 PM
This revision was landed with ongoing or failed builds.Nov 29 2019, 3:35 PM
This revision was automatically updated to reflect the committed changes.