Skip to content

Commit

Permalink
Init winning ticket value redeemed stat on boot (livepeer#2916)
Browse files Browse the repository at this point in the history
Co-authored-by: Thom Shutt <[email protected]>
  • Loading branch information
2 people authored and eliteprox committed Feb 21, 2024
1 parent 8766ef3 commit d46afb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions monitor/census.go
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,7 @@ func InitCensus(nodeType NodeType, version string) {
SetTranscodersNumberAndLoad(0, 0, 0)
stats.Record(census.ctx, census.mWinningTicketsRecv.M(int64(0)))
stats.Record(census.ctx, census.mCurrentSessions.M(int64(0)))
stats.Record(census.ctx, census.mValueRedeemed.M(float64(0)))
}

/*
Expand Down

0 comments on commit d46afb9

Please sign in to comment.