feat: add vector aggregator#1215
Conversation
|
Thanks for the pull request, @Ian2012! This repository is currently maintained by Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review. 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. DetailsWhere can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources: When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
d8559cf to
e3b112e
Compare
e3b112e to
7b651c9
Compare
bmtcril
left a comment
There was a problem hiding this comment.
I think this looks good, we just need to get the others merged first
|
@Ian2012 @bmtcril Which PRs does this PR depend on? If they've been merged since #1215 (review), perhaps this PR would be good to go as well now :) |
This PR changes the architecture to use Vector Agent + Vector Aggregator, reducing the risk of Too many parts errors from ClickHouse.
Small and medium sized k8s installation should see a reduced amount of writes to ClickHouse when switching either from Ralph or from the old Vector agent setup. Events are realtime collected from k8s nodes and sink to the k8s aggregatorm which then parses, processes and send them to ClickHouse and S3 (if enabled).
Large sized installations should see a reduction in ClickHouse disk usage and CPU usage as writes will be batched more efficiently from the aggregators instead that each agent concurrently writing to ClickHouse