span.processing-time metrics not available when Zipkin reporting is disabled

Description

Problem: In testnet1 Grafana dashboard, when Zipkin is disabled, the panels "RSpace operations" and "ReplayRSpace" go blank due to lack of data. Both of them are based on span.processing-time metric.

Cause: span.processing-time metric is generated automatically by Zipkin.

Expected result: Mentioned metrics should be available even if Zipkin reporting is disabled.

Proposed solution: Replace the autogenerated metric span.processing-time with 6 new Kamon.Timer metrics:

1 2 3 4 5 6 rchain.rspace.consume rchain.rspace.produce rchain.rspace.install rchain.rspace.replay.consume rchain.rspace.replay.produce rchain.rspace.replay.install

 

Environment

None

Status

Assignee

Sebastian Bach

Reporter

Adam Szkoda

Priority

Medium

Affects versions

None

Components

Sprint

None

Epic Link

None

Labels

None
Configure