Skip to content

Commit

Permalink
metrics: add insert block time diff metric;
Browse files Browse the repository at this point in the history
  • Loading branch information
galaio committed Aug 28, 2024
1 parent 28e7a2a commit eafa4f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -2303,7 +2303,7 @@ func EnableNodeTrack(ctx *cli.Context, cfg *ethconfig.Config, stack *node.Node)
nodeInfo := stack.Server().NodeInfo()
return func() {
// register node info into metrics
metrics.NewRegisteredLabel("node-track", nil).Mark(map[string]interface{}{
metrics.NewRegisteredLabel("node-stats", nil).Mark(map[string]interface{}{
"NodeType": parseNodeType(),
"ENR": nodeInfo.ENR,
"Mining": ctx.Bool(MiningEnabledFlag.Name),
Expand Down

0 comments on commit eafa4f5

Please # to comment.