Join exported and dropped flows into a single timeseries

This commit is contained in:
emanuele-f 2020-02-27 12:15:53 +01:00
parent ea4f936d07
commit b194643a18
4 changed files with 9 additions and 15 deletions

View file

@ -63,7 +63,6 @@ callback_utils.foreachInterface(ifnames, interface_rrd_creation_enabled, functio
-- Flow export stats
if(ifstats.stats.flow_export_count ~= nil) then
ts_utils.append("iface:exported_flows", {ifid=ifstats.id, num_flows=ifstats.stats.flow_export_count}, when)
ts_utils.append("iface:dropped_flows", {ifid=ifstats.id, num_flows=ifstats.stats.flow_export_drops}, when)
ts_utils.append("iface:exported_vs_dropped_flows", {ifid=ifstats.id, exported=ifstats.stats.flow_export_count, dropped=ifstats.stats.flow_export_drops}, when)
end
end, true --[[ update direction stats ]])