mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fixes influxdb querytotal not working
This commit is contained in:
parent
ef22a8adc4
commit
b06451bd31
2 changed files with 9 additions and 1 deletions
|
|
@ -1562,6 +1562,14 @@ end
|
|||
function driver:queryTotal(schema, tstart, tend, tags, options)
|
||||
local query_schema, raw_step, data_type = getQuerySchema(schema, tstart, tend, self.db, options)
|
||||
local query
|
||||
|
||||
if tags.epoch_begin then
|
||||
tags.epoch_begin = nil
|
||||
end
|
||||
|
||||
if tags.epoch_end then
|
||||
tags.epoch_end = nil
|
||||
end
|
||||
|
||||
if data_type == ts_common.metrics.counter then
|
||||
local metrics = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue