[OpenTelemetry] Fixed dropped self-diagnostics
Merged
MA
3mo ago+126+126+012345678901234567890123456789-7-7-0123456789
Changes
Fix self-diagnostic logs being dropped if they contained too many 3-byte characters. Now the content is only truncated.
Merge requirement checklist
- CONTRIBUTING guidelines followed (license requirements, nullable enabled, static analysis, etc.)
- Unit tests added/updated
- Appropriate
CHANGELOG.mdfiles updated for non-trivial changes - Changes in public API reviewed (if applicable)