mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
parent
a1b72d6447
commit
2648ae372f
10 changed files with 28 additions and 16 deletions
|
|
@ -734,6 +734,7 @@ function driver:query(schema, tstart, tend, tags, options)
|
|||
|
||||
-- Perform an additional query to determine the last point in the raw data
|
||||
local last_ts_query = getLastTsQuery(schema, query_schema, tags)
|
||||
tprint(query)
|
||||
local jres = influx_query_multi(url .. "/query?db=".. getDatabaseName(schema, self.db) .."&epoch=s", string.format("%s;%s", query, last_ts_query), self.username, self.password, options)
|
||||
local last_ts = os.time()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue