Skip to content

feat: Add zstd trace compression#592

Merged
astuyve merged 7 commits intomainfrom
aj/compress-traces
Mar 11, 2025
Merged

feat: Add zstd trace compression#592
astuyve merged 7 commits intomainfrom
aj/compress-traces

Conversation

@astuyve
Copy link
Copy Markdown
Contributor

@astuyve astuyve commented Mar 6, 2025

Compiles trace mini agent with the optional compression flag to enable zstd compression on traces

@astuyve astuyve requested a review from a team as a code owner March 6, 2025 18:08
let mut send_data = SendData::new(body_size, payload, header_tags, &endpoint);
let send_data_builder = SendDataBuilder::new(body_size, payload, header_tags, &endpoint);
let mut send_data = send_data_builder
.with_compression(Compression::Zstd(6))
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.

Can customer set the compression level here for traces?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah in a future PR we can add this as a config option

@astuyve astuyve merged commit f20ba55 into main Mar 11, 2025
33 checks passed
@astuyve astuyve deleted the aj/compress-traces branch March 11, 2025 14:04
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.

3 participants