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

chore(dataobj): add streams tracking and encoding #15713

Merged
merged 3 commits into from
Jan 14, 2025

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented Jan 13, 2025

This commit introduces the streams package, which tracks a list of streams in a data object.

Each stream is given an ID unique to the scope of a data object. This allows for streams to eventually be split up across multiple sections if one section becomes too large.

@rfratto rfratto requested a review from a team as a code owner January 13, 2025 15:08
This commit introduces the streams package, which tracks a list of
streams in a data object.

Each stream is given an ID unique to the scope of a data object. This
allows for streams to eventually be split up across multiple sections if
one section becomes too large.
This will help callers chain the result of recording a stream to then
populating it in the future logs section.
@rfratto rfratto requested a review from benclive January 14, 2025 13:19
@rfratto rfratto merged commit d1fd0b9 into grafana:main Jan 14, 2025
59 checks passed
@rfratto rfratto deleted the dataobj-streams branch January 14, 2025 14:42
rfratto added a commit to rfratto/loki that referenced this pull request Jan 14, 2025
This commit is the equivalent of grafana#15713 for the logs section: log
records are accumulated into column builders and then flushed into a
section at encoding time.

Some minor API changes have been made to sections/streams to ensure
consistency with sections/logs.
rfratto added a commit to rfratto/loki that referenced this pull request Jan 14, 2025
This commit is the equivalent of grafana#15713 for the logs section: log
records are accumulated into column builders and then flushed into a
section at encoding time.

Some minor API changes have been made to sections/streams to ensure
consistency with sections/logs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants