Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Restructure topbeat to make functions available as library #1172
Topbeat has lots of functionality which can be reused in other libraries, especially topbeat. To decouple the functionality from topbeat, this PR restructures Topbeat into the beater part and the library part. This makes is possible to reuse and share the functionality between Topbeat and Metricbeat.
Further steps should be taken later to also better split up the testing and introduce ucfg in topbeat.
This refactoring did not change any functionality or output of topbeat.
Not directly related to the PR, but it would be time to update the new Beat dev guide. It's using Topbeat so this will make it even more outdated, but we'd anyway have to speak about the generator, about the single repo, etc.
OTOH, the guide doesn't really seem to be required :-).