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] Apply compression if it's enabled in the config #22969

Merged

Commits on May 31, 2023

  1. [exporter/splunk_hec] Apply compression if it's enabled in the config

    The compression used to be enabled only if the payload size was greater than 1.5KB which significantly complicated the logic and made it hard to test. This change makes the compression unconditionally applied to the payload if it's enabled in the config. The benchmarking shows improvements in the throughput and CPU usage for large payloads and expected degradation for small payloads which is acceptable given that it's not a common case.
    dmitryax committed May 31, 2023
    Configuration menu
    Copy the full SHA
    78b5a7c View commit details
    Browse the repository at this point in the history