mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 09:20:10 +00:00
Fix script failures when prometheus export is enabled
This commit is contained in:
parent
9f494d6126
commit
9c39268441
4 changed files with 22 additions and 15 deletions
|
|
@ -663,19 +663,6 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function driver:listSeriesBatched(batch)
|
||||
local res = {}
|
||||
|
||||
-- Do not batch, just call listSeries
|
||||
for key, item in pairs(batch) do
|
||||
res[key] = driver:listSeries(item.schema, item.filter_tags, item.wildcard_tags, item.start_time)
|
||||
end
|
||||
|
||||
return res
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
function driver:topk(schema, tags, tstart, tend, options, top_tags)
|
||||
if #top_tags > 1 then
|
||||
traceError(TRACE_ERROR, TRACE_CONSOLE, "RRD driver does not support topk on multiple tags")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue