Page MenuHomeSoftware Heritage

replay: use tag based statsd probes
ClosedPublic

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

Details

Summary

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

Repository
rDJNL Journal infrastructure
Branch
master
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 9449
Build 13873: tox-on-jenkinsJenkins
Build 13872: arc lint + arc unit