Open
Description
AFAIK there are multiple issues here:
- exporter is disconnected on marshaling errors which may hurt performance and cause data loss
- protobuf rejects strings with invalid UTF-8
- OpenTelemetry does not validate strings
- OpenTelemetry does not support
[]byte
and usingattribute.String("foo", string(bytes))
looks harmless enough, but it very likely produces an invalid UTF-8 string
Assuming protobuf is not going to change current behavior, OpenTelemetry probably should have some answer to this. At least, dropping the problematic span instead of disconnecting.
PS go2sky seem to have this problem too.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Low priority