Create a reset counter and track maximum number of parallel flows
This feature introduces a new kind of counter that gets reset every time it's dumped. This feature is controlled by a flag, STATS_FLAGS_RESETTING, enabling the reset of the counter after running StatsOutput (or its equivalent StatsOutputCounterSocket).
Updated by Maurizio Abba over 4 years ago
UPDATE: after a first PR (https://github.com/OISF/suricata/pull/3146) I will modify the feature to provide both the new counter type and a counter that use this new feature (reset after every dump).
This counter will report the maximum number of parallel flows Suricata is tracking. This counter is updated every time a flow is created/destroyed.