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

[exporter/splunk_hec] Max content length should apply to compressed content, not uncompressed content. #13995

Closed
atoulme opened this issue Sep 8, 2022 · 2 comments
Labels
bug Something isn't working exporter/splunkhec priority:p2 Medium

Comments

@atoulme
Copy link
Contributor

atoulme commented Sep 8, 2022

Describe the bug
The Splunk HEC exporter uses the unzipped content to check the size of the payload to send, instead of the compressed content.
The max content length configuration should apply to the zipped content when compression is enabled.

Steps to reproduce
Run the exporter with compression enabled and a default max content length

What did you expect to see?
Messages sent to HEC endpoint match the max content length setting.

What did you see instead?
Messages are much smaller than the max content length enforced, as the content is compressed.

What version did you use?
Version: latest main, 0.59

Additional context
This applies for all content exported by the exporter, logs, metrics, and traces.

@atoulme atoulme added the bug Something isn't working label Sep 8, 2022
@atoulme atoulme changed the title [exporter/splunk_hec] [exporter/splunk_hec] Max content length should apply to compressed content, not uncompressed content. Sep 8, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Sep 9, 2022

Pinging code owners: @atoulme @dmitryax. See Adding Labels via Comments if you do not have permissions to add labels yourself.

@github-actions
Copy link
Contributor

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@github-actions github-actions bot added the Stale label Nov 10, 2022
@dmitryax dmitryax removed the Stale label Nov 10, 2022
@atoulme atoulme closed this as completed Jan 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working exporter/splunkhec priority:p2 Medium
Projects
None yet
Development

No branches or pull requests

3 participants