Rename measure in metric for active monitoring ts

Closes #3837
This commit is contained in:
emanuele-f 2020-04-27 14:34:44 +02:00
parent a1b72d6447
commit 2648ae372f
10 changed files with 28 additions and 16 deletions

View file

@ -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()