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

[pkg/stanza] expose max log size option for the container parser #33186

Conversation

ChrsMark
Copy link
Member

@ChrsMark ChrsMark commented May 22, 2024

Description:

The logsCollection Helm preset provides the option to set the maxRecombineLogSize.
The container parser does not expose this option but rather sets it to 102400 by default internally.
This PR is to make this option configurable so that the parser can be used in the Helm preset seamlessly.

Link to tracking Issue:

Testing: Added.

Documentation: Updated.

@ChrsMark ChrsMark requested review from djaglowski and a team as code owners May 22, 2024 15:47
@ChrsMark ChrsMark force-pushed the container_parser_expose_max_recombine_log branch 2 times, most recently from 66fa2b8 to 5db4b20 Compare May 22, 2024 15:48
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
@ChrsMark ChrsMark force-pushed the container_parser_expose_max_recombine_log branch from 5db4b20 to 1410ebf Compare May 22, 2024 15:50
@djaglowski djaglowski merged commit 98b5dcf into open-telemetry:main May 22, 2024
162 checks passed
@github-actions github-actions bot added this to the next release milestone May 22, 2024
cparkins pushed a commit to AmadeusITGroup/opentelemetry-collector-contrib that referenced this pull request Jul 11, 2024
…n-telemetry#33186)

**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
The
[logsCollection](https://github.com/open-telemetry/opentelemetry-helm-charts/blob/ef0e1ac4f645cdbb9bd0108c76b1ed69e418430c/charts/opentelemetry-collector/values.yaml#L29C3-L37)
Helm preset provides the option to set the `maxRecombineLogSize`.
The `container` parser does not expose this option but rather sets it to
`102400` by default internally.
This PR is to make this option configurable so that the parser can be
used in the [Helm preset
seamlessly](open-telemetry/opentelemetry-helm-charts#1195).

**Link to tracking Issue:** <Issue number if applicable>

**Testing:** <Describe what testing was performed and which tests were
added.> Added.

**Documentation:** <Describe the documentation added.> Updated.

Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants