Skip to content

Commit

Permalink
Merge pull request #907 from chengwenxi/release0.9
Browse files Browse the repository at this point in the history
R4R: fix monitor for v0.9
  • Loading branch information
wukongcheng authored Dec 27, 2018
2 parents 3ee54e3 + f043171 commit be50ddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/prometheus/consensus/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func (cs *Metrics) Start(ctx context.CLIContext) {

go func() {
for e := range roundC {
round := e.(types.TMEventData).(types.EventDataRoundState)
round := e.(types.TMEventData).(types.EventDataNewRound)
cs.TmMetrics.Rounds.Set(float64(round.Round))
}
}()
Expand Down

0 comments on commit be50ddf

Please sign in to comment.