Fixes influxdb empty timeseries

This commit is contained in:
Matteo Biscosi 2023-10-27 10:11:04 +00:00
parent a1637a5777
commit 5d2be2af43
2 changed files with 7 additions and 11 deletions

View file

@ -116,13 +116,6 @@ function ts_data.get_timeseries(http_context)
if options.tags.host then
options.tags = addHostInfo(options.tags)
end
if tskey ~= 0 then
-- In case of vlans, the vlan tag has to be there
for id, val in pairs(hostkey2hostinfo(tskey)) do
options.tags[id] = val
end
end
end
if ((options.schema == "top:flow_check:duration") or (options.schema == "top:elem_check:duration")) then