mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
Fixes traffic behavior total not working
This commit is contained in:
parent
2c70d0c3f1
commit
05226b3bb9
7 changed files with 19 additions and 83 deletions
|
|
@ -555,7 +555,7 @@ function driver:timeseries_query(options)
|
|||
for i, data_serie in pairs(series) do
|
||||
-- Add statistics if requested, by default yes
|
||||
if options.calculate_stats then
|
||||
local s = ts_common.calculateStatistics(series[i].data, fstep, options.epoch_end - options.epoch_begin,
|
||||
local s = ts_common.calculateStatistics(series[i].data, fstep, options.schema_info.options.keep_total,
|
||||
options.schema_info.options.metrics_type)
|
||||
local min_max = ts_common.calculateMinMax(data_serie.data)
|
||||
local statistics = table.merge(s, min_max)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue