Improved the deduplicated flows field on the if_stats page (#9941)

This commit is contained in:
Manuel Ceroni 2026-01-09 11:17:42 +01:00 committed by GitHub
parent f054bef76a
commit af5da0efa9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 5 deletions

View file

@ -149,7 +149,7 @@ function dumpInterfaceStats(ifid)
res["throughput_bps"] = ifstats.stats.throughput_bps;
res["throughput_pps"] = ifstats.stats.throughput_pps;
res["num_deduplicated_flows"] = ifstats.stats.num_deduplicated_flows
local function getExportStats(db_type)
local s = {}
s["flow_export_count"] = ifstats.stats_since_reset[db_type].flow_export_count