Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alexgallotta/refactor #540

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft

Alexgallotta/refactor #540

wants to merge 13 commits into from

Conversation

alexgallotta
Copy link
Contributor

No description provided.

duncanista and others added 13 commits February 4, 2025 13:32
method to remove the boilerplate to start a trace agent, and only return the flushers, channel, and processor
from `manual_flush` to `flush` and `flush` to `send`
generic `prost::Message` aggregator which batches given a `max_content_size_bytes`
a flusher should only flush, not receive messages, we abstract that from here
now the `TraceAgent` spins up a task which receives the stats so that they get properly aggregated
also modify the existing aggregator to be a stats agregator
also modified the naming import for `StatsFlusher`
it doesnt need the flushers to work, so removing that from it, and spawning own tasks for the data channels
it seems adding `prost::Message` import allows us to have the methods directly from the message we are treating with
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants