Commit 79361e6
committed
filter_lookup: stability/operational enhancements
- Removed unecessary FLB_FILTER_LOOKUP build flag now LookUp
is enabled by default like other filters (without flag).
- Fixed critical use-after-free bug in numeric value lookups.
- Added processed_records_total, matched_records_total and
skipped_records_total metrics to enable operational visibility
- Added unit tests to cover handling of different data types,
CSV loading/handling and metrics tests.
Tested with valgrind - no memory leaks. All unit tests pass.
Signed-off-by: Oleg Mukhin <[email protected]>1 parent fb58a3c commit 79361e6
File tree
6 files changed
+1474
-162
lines changed- cmake
- plugins/filter_lookup
- tests/runtime
6 files changed
+1474
-162
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
200 | 199 | | |
201 | 200 | | |
202 | 201 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
0 commit comments