Add election count to influx
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
e21ea5355f
commit
fcd6a18090
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user