Skip to content

Commit eb74389

Browse files
authored
cmd/geth: rename the protocols field in the metrics gague (#28102)
1 parent 8b6cf12 commit eb74389

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmd/geth/config.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,10 @@ func makeFullNode(ctx *cli.Context) (*node.Node, ethapi.Backend) {
185185
protos = append(protos, fmt.Sprintf("%v/%d", p.Name, p.Version))
186186
}
187187
metrics.NewRegisteredGaugeInfo("geth/info", nil).Update(metrics.GaugeInfoValue{
188-
"arch": runtime.GOARCH,
189-
"os": runtime.GOOS,
190-
"version": cfg.Node.Version,
191-
"eth_protocols": strings.Join(protos, ","),
188+
"arch": runtime.GOARCH,
189+
"os": runtime.GOOS,
190+
"version": cfg.Node.Version,
191+
"protocols": strings.Join(protos, ","),
192192
})
193193
}
194194

0 commit comments

Comments
 (0)