diff --git a/engine/timespans.go b/engine/timespans.go index b7f530d59..58769dc5a 100644 --- a/engine/timespans.go +++ b/engine/timespans.go @@ -328,7 +328,7 @@ func (ts *TimeSpan) CalculateCost() float64 { } return ts.RateInterval.GetCost(ts.GetDuration(), ts.GetGroupStart()) } else { - return ts.Increments.GetTotalCost() + return ts.Increments.GetTotalCost() * float64(ts.GetCompressFactor()) } }