Skip to content

Commit

Permalink
Fix the missing tonnage data.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidtw committed Aug 11, 2017
1 parent 9d389b8 commit b34517d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/caduceus/caduceusProfiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ func (cp *caduceusProfiler) process(raw []interface{}) (rv interface{}) {
return int64(math.Ceil(float64(len(list))*0.98) - 1)
}

cs.Tonnage = tonnage
cs.EventsSent = n
cs.ProcessingTimePerc98 = time.Duration(processingTime[get98th(processingTime)]).String()
cs.ProcessingTimeAvg = time.Duration(processingTotal / int64(n)).String()
Expand Down

0 comments on commit b34517d

Please sign in to comment.