Summary
- Major refactor of code base and build system to modularize input streams, the metrics subsystem, and stream handlers. Modules may be dynamically or statically linked, and are loadable at runtime. The first modules are the "pcap" input module and the "net" and "dns" stream handlers, which are currently statically linked into
pktvisord
binary. - Introduce
--admin-api
with full control plane functionality to prepare for creating observability policies. The admin API is not yet stable and should be expected to change. - Update to the latest version of several dependencies such as Apache Data Sketches and PcapPlusPlus
- Begin using Conan package manager for C++ dependencies, and Github actions for CI
- Switch the open source license from Apache to Mozilla Public License
3.0.x Compatibility Notes
- pcap file analysis has been split out of
pktvisord
and into its own binarypktvisor-pcap
- The command line UI has been renamed from
pktvisor
topktvisor-cli
. The old name is currently still accepted in the docker container entry. - The
/api/v1/metrics/rates
endpoint is being deprecated; it still works but the rates are always 0. Instead, the "live" bucket (bucket number 0) includes rate information under the "live" keys.pktvisor-cli
has been updated accordingly, and this change does not affect typical central collection scenarios which only collect bucket number 1.