Skip to content

feat(kubernetes_logs): add truncate option for oversized events - #318

Open
vparfonov wants to merge 1 commit into
ViaQ:v0.54.0-rhfrom
vparfonov:log9459
Open

vparfonov wants to merge 1 commit into
ViaQ:v0.54.0-rhfrom
vparfonov:log9459

Conversation

@vparfonov

Copy link
Copy Markdown

Cherry-picked from upstream PR vectordotdev#25567:

  • Add truncate option for oversized events in kubernetes_logs and codecs
  • Cap max_line_bytes only in drop mode
  • Fix edge case behaviour with exact length
  • Add comprehensive tests

/assugn @jcantrill

@coderabbitai

coderabbitai Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: 51d05d45-eddb-4081-9ff4-c69cd6dca856

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@vparfonov vparfonov added the v0.54 label Oct 5, 2026
@openshift-ci
openshift-ci Bot requested a review from Clee2691 October 5, 2026 12:15
@openshift-ci

openshift-ci Bot commented Oct 5, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: vparfonov
Once this PR has been reviewed and has the lgtm label, please assign xperimental for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci
openshift-ci Bot requested a review from jcantrill October 5, 2026 12:15
Cherry-picked from upstream PR vectordotdev#25567:
- Add truncate option for oversized events in kubernetes_logs and codecs
- Cap max_line_bytes only in drop mode
- Fix edge case behaviour with exact length
- Add comprehensive tests

Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
@vparfonov vparfonov changed the title feat(kubernetes_logs, codecs): add truncate option for oversized events feat(kubernetes_logs): add truncate option for oversized events Oct 5, 2026
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.

1 participant