Skip to content

[8.19](backport #45042) [OTel] Serialize Maps and nil Better#45043

Merged
pickypg merged 3 commits into
8.19from
mergify/bp/8.19/pr-45042
Jun 27, 2025
Merged

[8.19](backport #45042) [OTel] Serialize Maps and nil Better#45043
pickypg merged 3 commits into
8.19from
mergify/bp/8.19/pr-45042

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented Jun 26, 2025

This simplifies the serialization of arrays / slices of map[string]any and add tests for inner nil handling.

Proposed commit message

Add better tests for otelmap and simplified arrays and slices and use less reflection.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Disruptive User Impact

No change.

How to test this PR locally

  • Run the tests in otelmap

Related issues

This simplifies the serialization of arrays / slices of
`map[string]any`.

(cherry picked from commit 63bbc75)
@mergify mergify Bot requested a review from a team as a code owner June 26, 2025 06:19
@mergify mergify Bot added the backport label Jun 26, 2025
@mergify mergify Bot added the backport label Jun 26, 2025
@mergify mergify Bot requested review from andrzej-stencel and khushijain21 and removed request for a team June 26, 2025 06:19
@botelastic botelastic Bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jun 26, 2025
@github-actions github-actions Bot added release-note:skip The PR should be ignored when processing the changelog Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team labels Jun 26, 2025
@botelastic botelastic Bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jun 26, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@pickypg pickypg enabled auto-merge (squash) June 26, 2025 15:47
@pickypg pickypg merged commit 6be928f into 8.19 Jun 27, 2025
200 checks passed
@pickypg pickypg deleted the mergify/bp/8.19/pr-45042 branch June 27, 2025 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport release-note:skip The PR should be ignored when processing the changelog Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants