diff --git a/tools/stats/metrics.go b/tools/stats/metrics.go index a6a3db3ad..52ef0c660 100644 --- a/tools/stats/metrics.go +++ b/tools/stats/metrics.go @@ -134,7 +134,7 @@ func RecordTipsetPoints(ctx context.Context, api api.FullNode, pl *PointList, ti if err != nil { return err } - p := NewPoint("chain.election", 1) + p := NewPoint("chain.election", blockheader.ElectionProof.WinCount) p.AddTag("miner", blockheader.Miner.String()) pl.AddPoint(p)