mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cmd/swarm/swarm-smoke-pss: add msgcount to influx tags
This commit is contained in:
parent
455bef94b9
commit
5778993be4
1 changed files with 1 additions and 0 deletions
|
|
@ -163,6 +163,7 @@ func emitMetrics(ctx *cli.Context) error {
|
|||
tagsMap := utils.SplitTagsFlag(tags)
|
||||
tagsMap["version"] = gitCommit
|
||||
tagsMap["msgbytes"] = strconv.Itoa(pssMessageSize)
|
||||
tagsMap["msgcount"] = strconv.Itoa(pssMessageCount)
|
||||
|
||||
return influxdb.InfluxDBWithTagsOnce(gethmetrics.DefaultRegistry, endpoint, database, username, password, "swarm-smoke-pss.", tagsMap)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue