Skip to content

feat: add vector aggregator#1215

Open
Ian2012 wants to merge 1 commit into
cag/vector-xapi-backfillfrom
cag/vector-aggregator
Open

feat: add vector aggregator#1215
Ian2012 wants to merge 1 commit into
cag/vector-xapi-backfillfrom
cag/vector-aggregator

Conversation

@Ian2012

@Ian2012 Ian2012 commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

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

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Mar 25, 2026
@openedx-webhooks

openedx-webhooks commented Mar 25, 2026

Copy link
Copy Markdown

Thanks for the pull request, @Ian2012!

This repository is currently maintained by @openedx/tutor-contrib-aspects-maintainers.

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 approval

If you haven't already, check this list to see if your contribution needs to go through the product review process.

  • If it does, you'll need to submit a product proposal for your contribution, and have it reviewed by the Product Working Group.
    • This process (including the steps you'll need to take) is documented here.
  • If it doesn't, simply proceed with the next step.
🔘 Provide context

To 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:

  • Dependencies

    This PR must be merged before / after / at the same time as ...

  • Blockers

    This PR is waiting for OEP-1234 to be accepted.

  • Timeline information

    This PR must be merged by XX date because ...

  • Partner information

    This is for a course on edx.org.

  • Supporting documentation
  • Relevant Open edX discussion forum threads
🔘 Get a green build

If one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green.

Details
Where 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:

  • The size and impact of the changes that it introduces
  • The need for product review
  • Maintenance status of the parent repository

💡 As a result it may take up to several weeks or months to complete a review and merge your PR.

@Ian2012 Ian2012 force-pushed the cag/vector-aggregator branch from e3b112e to 7b651c9 Compare March 25, 2026 17:50
@mphilbrick211 mphilbrick211 moved this from Needs Triage to Ready for Review in Contributions Mar 27, 2026

@bmtcril bmtcril left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good, we just need to get the others merged first

@itsjeyd itsjeyd moved this from Ready for Review to In Eng Review in Contributions Jun 25, 2026
@itsjeyd itsjeyd added the blocked by other work PR cannot be finished until other work is complete label Jun 25, 2026
@openedx-webhooks openedx-webhooks added the core contributor PR author is a Core Contributor (who may or may not have write access to this repo). label Jun 25, 2026
@itsjeyd

itsjeyd commented Jun 25, 2026

Copy link
Copy Markdown

@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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked by other work PR cannot be finished until other work is complete core contributor PR author is a Core Contributor (who may or may not have write access to this repo). open-source-contribution PR author is not from Axim or 2U

Projects

Status: In Eng Review

Development

Successfully merging this pull request may close these issues.

5 participants