Add support for other aggregation functions

monitored host RTT now uses MAX as aggregation function
This commit is contained in:
emanuele-f 2019-06-18 16:49:25 +02:00
parent 7df375125e
commit e43bb6680e
8 changed files with 56 additions and 14 deletions

View file

@ -61,7 +61,7 @@ function test_unique_paths(test)
unique_paths[fpath] = schema.name
-- double check changing the last tag
if #schema._tags >= 3 then
if #schema._tags >= 1 then
local last_tag = schema._tags[#schema._tags]
local tags2 = table.clone(tags1)
tags2[last_tag] = replacement_tag