Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trace Exporter sanitizes invalid UTF-8 #901

Open
dashpole opened this issue Oct 9, 2024 · 0 comments
Open

Trace Exporter sanitizes invalid UTF-8 #901

dashpole opened this issue Oct 9, 2024 · 0 comments
Labels
bug Something isn't working priority: p3

Comments

@dashpole
Copy link
Contributor

dashpole commented Oct 9, 2024

Forked from open-telemetry/opentelemetry-collector-contrib#35723

Our collector exporter uses the SDK exporter under the hood, but that shouldn't actually matter. We probably want to make the trace client remove invalid UTF-8 similar to what we do for metrics:

func sanitizeUTF8(s string) string {
. It probably needs to be done somewhere around here:
attributes := attributeWithLabelsFromResources(s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: p3
Projects
None yet
Development

No branches or pull requests

1 participant