From b34517d3cdb19ba097bb51f6292f3700ca59bd2e Mon Sep 17 00:00:00 2001 From: Weston Schmidt Date: Fri, 11 Aug 2017 01:03:59 -0700 Subject: [PATCH] Fix the missing tonnage data. --- src/caduceus/caduceusProfiler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/caduceus/caduceusProfiler.go b/src/caduceus/caduceusProfiler.go index e78196aa..5e0d4d61 100644 --- a/src/caduceus/caduceusProfiler.go +++ b/src/caduceus/caduceusProfiler.go @@ -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()