open-telemetry / oteps

OpenTelemetry Enhancement Proposals
https://opentelemetry.io
Apache License 2.0
326 stars 157 forks source link

Invalid UTF-8 error handling policy #257

Open jmacd opened 1 month ago

jmacd commented 1 month ago

This is a draft following research done into

https://github.com/open-telemetry/opentelemetry-specification/issues/3421

and

https://github.com/open-telemetry/opentelemetry-specification/issues/3950.

jmacd commented 1 month ago

@XSAM This was discussed in the Spec SIG today. There appears to be not much support for binary-attribute values. I think it's bad for the users, but it's not so bad if we automatically correct invalid UTF-8. Therefore, I will move forward with only half of this proposal.