Skip to content

Commit

Permalink
Merge #2175
Browse files Browse the repository at this point in the history
2175: Pass a metrics tracer to teeTraceChainTip r=dcoutts a=intricate

After #2158, it seems that ChainDB metrics were mistakenly being logged to `cardano.node` instead of `cardano.node.metrics`. This PR fixes that.

Co-authored-by: Luke Nadur <19835357+intricate@users.noreply.github.com>
  • Loading branch information
iohk-bors[bot] and intricate authored Dec 4, 2020
2 parents d162902 + 1fb4f1c commit fb389c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cardano-node/src/Cardano/Tracing/Tracers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ mkTracers tOpts@(TracingOn trSel) tr nodeKern = do
pure Tracers
{ chainDBTracer = tracerOnOff' (traceChainDB trSel) $
annotateSeverity $ teeTraceChainTip tOpts elidedChainDB
(appendName "ChainDB" tr) tr
(appendName "ChainDB" tr) (appendName "metrics" tr)
, consensusTracers = consensusTracers
, nodeToClientTracers = nodeToClientTracers' trSel verb tr
, nodeToNodeTracers = nodeToNodeTracers' trSel verb tr
Expand Down

0 comments on commit fb389c0

Please sign in to comment.