Skip to content

Conversation

@cosmo0920
Copy link
Contributor

@cosmo0920 cosmo0920 commented Aug 7, 2025

Backporting from #10693.


Enter [N/A] in the box, if an item is not applicable to your change.

Testing
Before we can approve your change; please submit the following in a comment:

  • Example configuration file for the change
  • Debug log output from testing the change
  • Attached Valgrind output that shows no leaks or memory corruption was found

If this is a change to packaging of containers or native binaries then please confirm it works for all targets.

  • Run local packaging test showing all targets (including any new ones) build.
  • Set ok-package-test label to test for all targets (requires maintainer to do).

Documentation

  • Documentation required for this feature

Backporting

  • Backport to latest stable release.

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

edsiper added 9 commits August 7, 2025 11:42
- Add NULL check in otlp_pack_any_value function to handle NULL body parameter
- Add NULL check for body access in conditional check to prevent segfault
- Handle OPENTELEMETRY__PROTO__COMMON__V1__ANY_VALUE__VALUE__NOT_SET case by packing nil value

Signed-off-by: Eduardo Silva <[email protected]>
- Add proper NULL handling for empty map values (unset values)
- Fix missing value handling to pack as empty string
- Complete logic flow to handle all OpenTelemetry value states

Signed-off-by: Eduardo Silva <[email protected]>
@coderabbitai

This comment was marked as outdated.

@cosmo0920 cosmo0920 changed the base branch from master to 4.0 August 7, 2025 02:45
@cosmo0920 cosmo0920 closed this Aug 7, 2025
@cosmo0920 cosmo0920 reopened this Aug 7, 2025
@cosmo0920 cosmo0920 merged commit 8c5cbc1 into 4.0 Aug 7, 2025
26 checks passed
@cosmo0920 cosmo0920 deleted the otel-logs-fixes-4.0 branch August 7, 2025 05:07
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.

3 participants