@@ -399,20 +399,20 @@ instance ( LogFormatting (Header blk)
399
399
asMetrics (ChainDB. SwitchedToAFork _warnings newTipInfo _oldChain newChain) =
400
400
let ChainInformation { slots, blocks, density, epoch, slotInEpoch } =
401
401
chainInformation newTipInfo newChain 0
402
- in [ DoubleM " cardano.node.density " (fromRational density)
403
- , IntM " cardano.node.slotNum " (fromIntegral slots)
404
- , IntM " cardano.node.blockNum " (fromIntegral blocks)
405
- , IntM " cardano.node.slotInEpoch " (fromIntegral slotInEpoch)
406
- , IntM " cardano.node.epoch " (fromIntegral (unEpochNo epoch))
402
+ in [ DoubleM " ChainDB.Density " (fromRational density)
403
+ , IntM " ChainDB.SlotNum " (fromIntegral slots)
404
+ , IntM " ChainDB.BlockNum " (fromIntegral blocks)
405
+ , IntM " ChainDB.SlotInEpoch " (fromIntegral slotInEpoch)
406
+ , IntM " ChainDB.Epoch " (fromIntegral (unEpochNo epoch))
407
407
]
408
408
asMetrics (ChainDB. AddedToCurrentChain _warnings newTipInfo _oldChain newChain) =
409
409
let ChainInformation { slots, blocks, density, epoch, slotInEpoch } =
410
410
chainInformation newTipInfo newChain 0
411
- in [ DoubleM " cardano.node.density " (fromRational density)
412
- , IntM " cardano.node.slotNum " (fromIntegral slots)
413
- , IntM " cardano.node.blockNum " (fromIntegral blocks)
414
- , IntM " cardano.node.slotInEpoch " (fromIntegral slotInEpoch)
415
- , IntM " cardano.node.epoch " (fromIntegral (unEpochNo epoch))
411
+ in [ DoubleM " ChainDB.Density " (fromRational density)
412
+ , IntM " ChainDB.SlotNum " (fromIntegral slots)
413
+ , IntM " ChainDB.BlockNum " (fromIntegral blocks)
414
+ , IntM " ChainDB.SlotInEpoch " (fromIntegral slotInEpoch)
415
+ , IntM " ChainDB.Epoch " (fromIntegral (unEpochNo epoch))
416
416
]
417
417
asMetrics _ = []
418
418
@@ -621,35 +621,35 @@ docChainDBAddBlock = Documented [
621
621
\ it is preferable to our chain)."
622
622
, DocMsg
623
623
[" AddedToCurrentChain" ]
624
- [(" cardano.node.density " ,
624
+ [(" ChainDB.Density " ,
625
625
" The actual number of blocks created over the maximum expected number\
626
626
\ of blocks that could be created over the span of the last @k@ blocks." )
627
- , (" cardano.node.slots " ,
627
+ , (" ChainDB.Slots " ,
628
628
" Number of slots in this chain fragment." )
629
- , (" cardano.node.blocks " ,
629
+ , (" ChainDB.Blocks " ,
630
630
" Number of blocks in this chain fragment." )
631
- , (" cardano.node.slotInEpoch " ,
631
+ , (" ChainDB.SlotInEpoch " ,
632
632
" Relative slot number of the tip of the current chain within the\
633
633
\epoch.." )
634
- , (" cardano.node.epoch " ,
634
+ , (" ChainDB.Epoch " ,
635
635
" In which epoch is the tip of the current chain." )
636
636
]
637
637
" The new block fits onto the current chain (first\
638
638
\ fragment) and we have successfully used it to extend our (new) current\
639
639
\ chain (second fragment)."
640
640
, DocMsg
641
641
[" SwitchedToAFork" ]
642
- [ (" cardano.node.density " ,
642
+ [ (" ChainDB.Density " ,
643
643
" The actual number of blocks created over the maximum expected number\
644
644
\ of blocks that could be created over the span of the last @k@ blocks." )
645
- , (" cardano.node.slots " ,
645
+ , (" ChainDB.Slots " ,
646
646
" Number of slots in this chain fragment." )
647
- , (" cardano.node.blocks " ,
647
+ , (" ChainDB.Blocks " ,
648
648
" Number of blocks in this chain fragment." )
649
- , (" cardano.node.slotInEpoch " ,
649
+ , (" ChainDB.SlotInEpoch " ,
650
650
" Relative slot number of the tip of the current chain within the\
651
651
\epoch.." )
652
- , (" cardano.node.epoch " ,
652
+ , (" ChainDB.Epoch " ,
653
653
" In which epoch is the tip of the current chain." )
654
654
]
655
655
" The new block fits onto some fork and we have switched to that fork\
0 commit comments