Skip to content

Conversation

@quentinmit
Copy link
Member

Description

DRAFT: Needs go and python support to be implemented.

This PR enables parse_multiline for OTel. It requires GoogleCloudPlatform/opentelemetry-operations-collector#405 to be merged for access to the recombine operator.

This also fixes our OTel support to preserve leading and trailing whitespace on log lines, which makes it match fluent-bit's behavior better. This causes (correct) changes in existing transformation test output.

Related issue

b/413446918

How has this been tested?

go test ./transformation_test

Checklist:

  • Unit tests
    • Unit tests do not apply.
    • Unit tests have been added/modified and passed for this PR.
  • Integration tests
    • Integration tests do not apply.
    • Integration tests have been added/modified and passed for this PR.
  • Documentation
    • This PR introduces no user visible changes.
    • This PR introduces user visible changes and the corresponding documentation change has been made.
  • Minor version bump
    • This PR introduces no new features.
    • This PR introduces new features, and there is a separate PR to bump the minor version since the last release already.
    • This PR bumps the version.

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.

2 participants