Improve and clean up pending flow scripts call logic

Pending calls are now visualized into the FlowHash "Call Stats" chart
This commit is contained in:
emanuele-f 2019-11-15 18:07:44 +01:00
parent b40c53f9d0
commit fc962d73f3
7 changed files with 58 additions and 43 deletions

View file

@ -26,6 +26,11 @@ function ts_dump.iface_update_periodic_ht_state_update_stats(when, ifid, periodi
proto_detected = stats.num_skipped_proto_detected,
periodic_update = stats.num_skipped_periodic_update,
}, when, verbose)
ts_utils.append("ht:num_pending_calls", {ifid = ifid, hash_table = ht_name,
proto_detected = stats.num_pending_proto_detected,
periodic_update = stats.num_pending_periodic_update,
}, when, verbose)
end
end