@@ -507,7 +507,7 @@ instance ( LogFormatting (Header blk)
507
507
| not (null events) ]
508
508
++ [ " tipBlockHash" .= tipBlockHash
509
509
, " tipBlockParentHash" .= tipBlockParentHash
510
- , " tipBlockIssuerVerificationKeyHash " .= tipBlockIssuerVkHashText]
510
+ , " tipBlockIssuerVKeyHash " .= tipBlockIssuerVkHashText]
511
511
forMachine dtal (ChainDB. AddedToCurrentChain events selChangedInfo _base extended) =
512
512
mconcat $
513
513
[ " kind" .= String " AddedToCurrentChain"
@@ -542,7 +542,7 @@ instance ( LogFormatting (Header blk)
542
542
| not (null events) ]
543
543
++ [ " tipBlockHash" .= tipBlockHash
544
544
, " tipBlockParentHash" .= tipBlockParentHash
545
- , " tipBlockIssuerVerificationKeyHash " .= tipBlockIssuerVkHashText]
545
+ , " tipBlockIssuerVKeyHash " .= tipBlockIssuerVkHashText]
546
546
forMachine dtal (ChainDB. SwitchedToAFork events selChangedInfo _old new) =
547
547
mconcat $
548
548
[ " kind" .= String " TraceAddBlockEvent.SwitchedToAFork"
@@ -606,8 +606,8 @@ instance ( LogFormatting (Header blk)
606
606
, IntM " epoch" (fromIntegral (unEpochNo epoch))
607
607
, CounterM " forks" (Just (if forkIt then 1 else 0 ))
608
608
, PrometheusM " tipBlock" [(" hash" ,tipBlockHash)
609
- ,(" parent hash " ,tipBlockParentHash)
610
- ,(" issuer verification key hash " , tipBlockIssuerVkHashText)]
609
+ ,(" parent_hash " ,tipBlockParentHash)
610
+ ,(" issuer_VKey_hash " , tipBlockIssuerVkHashText)]
611
611
]
612
612
asMetrics (ChainDB. AddedToCurrentChain _warnings selChangedInfo oldChain newChain) =
613
613
let ChainInformation { .. } =
@@ -745,7 +745,14 @@ instance MetaTrace (ChainDB.TraceAddBlockEvent blk) where
745
745
, ( " epoch"
746
746
, " In which epoch is the tip of the current chain."
747
747
)
748
+ , ( " forks"
749
+ , " counter for forks"
750
+ )
751
+ , ( " tipBlock"
752
+ , " Hash vallues for tipBlockHash, tipBlockParentHash and tipBlockIssuerVkHashText"
753
+ )
748
754
]
755
+
749
756
metricsDocFor (Namespace _ [" AddedToCurrentChain" ]) =
750
757
[ ( " density"
751
758
, mconcat
@@ -768,6 +775,9 @@ instance MetaTrace (ChainDB.TraceAddBlockEvent blk) where
768
775
, ( " epoch"
769
776
, " In which epoch is the tip of the current chain."
770
777
)
778
+ , ( " tipBlock"
779
+ , " Hash vallues for tipBlockHash, tipBlockParentHash and tipBlockIssuerVkHashText"
780
+ )
771
781
]
772
782
metricsDocFor _ = []
773
783
0 commit comments