Jason Dellaluce
833fec8537
refactor(userspace/engine): leverage falco_rule def in stats manager
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2022-05-25 09:16:45 +02:00
Mark Stemm
120027dc2e
Add constructor/destructor to stats_manager
...
This ensures m_total is properly initialized.
Signed-off-by: Mark Stemm <mark.stemm@gmail.com >
2022-04-22 13:27:52 +02:00
Jason Dellaluce
06b6565fa6
refactor(userspace): sync falco codebase to new falco_common definitions
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2022-04-11 22:21:20 +02:00
Jason Dellaluce
2934ef29b9
chore(userspace/engine): fix indentations and use improve indexed_vector
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2022-04-11 12:22:18 +02:00
Jason Dellaluce
d483b897e7
new(userspace/engine): create stats_manager inside falco engine
...
This is a porting of what we had inside the Lua codebase. This now handles the single responsibility
of gathering stats about rule-event matching, and of formatting them to print them to the user.
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2022-04-11 12:22:18 +02:00