mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Return 0 filled points instead of nil when no data is available on InfluxDB
This behaviour makes InfluxDB consistent with the RRD driver
This commit is contained in:
parent
78a457e731
commit
f82a8e9767
9 changed files with 99 additions and 58 deletions
|
|
@ -28,6 +28,7 @@ end
|
|||
--! @param tend upper time bound for the query.
|
||||
--! @param tags a list of filter tags. It contains exactly the tags defined in the schema.
|
||||
--! @param options query options.
|
||||
--! @return a (possibly empty) query result on success, nil on failure.
|
||||
function driver:query(schema, tstart, tend, tags, options)
|
||||
end
|
||||
|
||||
|
|
@ -47,7 +48,7 @@ end
|
|||
--! @param tend upper time bound for the query.
|
||||
--! @param options query options.
|
||||
--! @param top_tags the remaining tags of the schema, on which top k calculation is taking place.
|
||||
--! @return a topk result on success, nil on error.
|
||||
--! @return a (possibly empty) topk result on success, nil on error.
|
||||
function driver:topk(schema, tags, tstart, tend, options, top_tags)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue