Skip to content

FIX: Otlp common charlist string#961

Open
WWWcool wants to merge 5 commits intoopen-telemetry:mainfrom
valitydev:fix/otlp-common-charlist-string
Open

FIX: Otlp common charlist string#961
WWWcool wants to merge 5 commits intoopen-telemetry:mainfrom
valitydev:fix/otlp-common-charlist-string

Conversation

@WWWcool
Copy link

@WWWcool WWWcool commented Feb 13, 2026

No description provided.

WWWcool and others added 2 commits February 13, 2026 15:48
Convert list values that are valid unicode charlists to `string_value` instead of `array_value` so log bodies are exported as readable text instead of byte arrays.

Co-authored-by: Cursor <[email protected]>
Use pattern matching on `{ok, Bin} | error` for unicode charlist conversion to keep list handling idiomatic and explicit in Erlang.

Co-authored-by: Cursor <[email protected]>
@WWWcool WWWcool requested a review from a team as a code owner February 13, 2026 12:52
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Feb 13, 2026

CLA Not Signed

@tsloughter
Copy link
Member

I think my idea was that you had to use binaries for strings just to not have the old issue of getting a string when you wanted a list/array. But maybe since we are dealing with lots of attributes in logs that likely don't even necessarily come from the user that isn't a good way of doing things.

@codecov
Copy link

codecov bot commented Mar 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 17.66%. Comparing base (98be90e) to head (e7f3600).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #961   +/-   ##
=======================================
  Coverage   17.66%   17.66%           
=======================================
  Files          24       24           
  Lines         719      719           
=======================================
  Hits          127      127           
  Misses        592      592           
Flag Coverage Δ
api 17.66% <ø> (ø)
elixir 17.66% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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