Skip to content

Release v2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Aug 05:27
6b6d464
v2.0.0 refactoring

The library and the app have undergone massive changes.
It includes a key refactor of the formatting and producer system.

Decoder:
* Temporarily removed the template drivers
* Improved decoding error information

Producer:
* Became a module like formatters or transporters: specific to protobuf
* Improved use of reflect to do custom mapping
* Uses protoreflect to add extra fields (also supports lists)
* Uses nanosecond-based timestamps
* Reduced number of Protobuf fields as the previous ones can be added with a custom mapping

Formatting:
* Use `Marshal` functions
* Binary formatting replaces the protobuf-specific formatting
* Binary, JSON and Text have been simplified
* Raw samples can be formatted in text form
* Custom mapping is formatted properly with user-defined names

GoFlow2:
* Adds a mode to display the raw samples
* Improved listening on multiple sockets
* Disassociated the Prometheus and logging integrations from from the core libraries, using wrappers now
* Linted Prometheus metrics
* Improved interrupt process/shutting-down