diff --git a/tools/stats/metrics.go b/tools/stats/metrics.go index 8d63f1c6d..8082e3c51 100644 --- a/tools/stats/metrics.go +++ b/tools/stats/metrics.go @@ -124,8 +124,11 @@ func RecordTipsetPoints(ctx context.Context, api api.FullNode, pl *PointList, ti if err != nil { return err } + p := NewPoint("chain.election", 1) + p.AddTag("miner", blockheader.Miner.String()) + pl.AddPoint(p) - p := NewPoint("chain.blockheader_size", len(bs)) + p = NewPoint("chain.blockheader_size", len(bs)) pl.AddPoint(p) }