mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Implements discarded probing traffic counters and timeseries
This commit is contained in:
parent
d3b9f22b0a
commit
b44de6e18d
12 changed files with 176 additions and 13 deletions
|
|
@ -73,6 +73,11 @@ function dumpInterfaceStats(ifid)
|
|||
res["bytes"] = ifstats.stats_since_reset.bytes
|
||||
res["drops"] = ifstats.stats_since_reset.drops
|
||||
|
||||
if ifstats.stats_since_reset.discarded_probing_packets then
|
||||
res["discarded_probing_packets"] = ifstats.stats_since_reset.discarded_probing_packets
|
||||
res["discarded_probing_bytes"] = ifstats.stats_since_reset.discarded_probing_bytes
|
||||
end
|
||||
|
||||
res["throughput_bps"] = ifstats.stats.throughput_bps;
|
||||
res["throughput_pps"] = ifstats.stats.throughput_pps;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue