mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Implement queryTotal for RRD and make it standard
This commit is contained in:
parent
62101347f8
commit
ef0f401e51
4 changed files with 56 additions and 8 deletions
|
|
@ -22,7 +22,7 @@ end
|
|||
function driver:append(schema, timestamp, tags, metrics)
|
||||
end
|
||||
|
||||
--! @brief Append a new data point to the timeseries.
|
||||
--! @brief Query timeseries data.
|
||||
--! @param schema the schema object.
|
||||
--! @param tstart lower time bound for the query.
|
||||
--! @param tend upper time bound for the query.
|
||||
|
|
@ -32,6 +32,16 @@ end
|
|||
function driver:query(schema, tstart, tend, tags, options)
|
||||
end
|
||||
|
||||
--! @brief Calculate a sum on the timeseries metrics.
|
||||
--! @param schema the schema object.
|
||||
--! @param tstart lower time bound for the query.
|
||||
--! @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 table containing metric->metric_total mappings on success, nil on failure.
|
||||
function driver:queryTotal(schema_name, tstart, tend, tags, options)
|
||||
end
|
||||
|
||||
--! @brief List all available timeseries for the specified schema, tags and time.
|
||||
--! @param schema the schema object.
|
||||
--! @param tags_filter a list of filter tags.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue