Skip to content

Commit

Permalink
Revert "cmd/geth: rename the protocols field in the metrics gague (et…
Browse files Browse the repository at this point in the history
…hereum#28102)"

This reverts commit c28d7e1.
  • Loading branch information
devopsbo3 authored Nov 10, 2023
1 parent 7868ccb commit 6d5bfae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/geth/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,10 @@ func makeFullNode(ctx *cli.Context) (*node.Node, ethapi.Backend) {
protos = append(protos, fmt.Sprintf("%v/%d", p.Name, p.Version))
}
metrics.NewRegisteredGaugeInfo("geth/info", nil).Update(metrics.GaugeInfoValue{
"arch": runtime.GOARCH,
"os": runtime.GOOS,
"version": cfg.Node.Version,
"protocols": strings.Join(protos, ","),
"arch": runtime.GOARCH,
"os": runtime.GOOS,
"version": cfg.Node.Version,
"eth_protocols": strings.Join(protos, ","),
})
}

Expand Down

0 comments on commit 6d5bfae

Please sign in to comment.