Skip to content

Commit 217325f

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents f525912 + 6526694 commit 217325f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

cardano-node/src/Cardano/Node/Tracing/Tracers/Startup.hs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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

cardano-node/src/Cardano/Tracing/Tracers.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)