File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ instance ( Show (BlockNodeToNodeVersion blk)
276276 ]
277277
278278 asMetrics (BlockForgingUpdate b) =
279- [ IntM " can_forge_blocks "
279+ [ IntM " forging_enabled "
280280 (case b of
281281 EnabledBlockForging -> 1
282282 DisabledBlockForging -> 0
@@ -405,7 +405,8 @@ instance MetaTrace (StartupTrace blk) where
405405 documentFor _ns = Nothing
406406
407407 metricsDocFor (Namespace _ [" BlockForgingUpdate" ]) =
408- [(" can_forge_blocks" ," Can this node forging blocks (is it provided with block forging credentials) 0 = no, 1 = yes" )]
408+ [(" forging_enabled" ," Can this node forge blocks? (Is it provided with block forging credentials) 0 = no, 1 = yes" )]
409+
409410
410411 metricsDocFor _ = []
411412
Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ mkTracers blockConfig tOpts@(TracingOnLegacy trSel) tr nodeKern ekgDirect enable
354354 case mbEKGDirect of
355355 Just ekgDirect' ->
356356 case ev of
357- BlockForgingUpdate b -> sendEKGDirectInt ekgDirect' " can_forge_blocks "
357+ BlockForgingUpdate b -> sendEKGDirectInt ekgDirect' " forging_enabled "
358358 (case b of
359359 EnabledBlockForging -> 1 :: Int
360360 DisabledBlockForging -> 0 :: Int
You can’t perform that action at this time.
0 commit comments