mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Join exported and dropped flows into a single timeseries
This commit is contained in:
parent
ea4f936d07
commit
b194643a18
4 changed files with 9 additions and 15 deletions
|
|
@ -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 ]])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue