-
Notifications
You must be signed in to change notification settings - Fork 123
Make span tag key/value pairs to be utf-8 encoded #82
Comments
Why is that? If it is URL encoded, it should have UTF-8 encoded already. |
As the log doesn't output the real string value, so I'm not sure why this happened. |
URL includes parameters? Which framework having this feature? URL should be encoded even for Chinese. |
Here is a URL that with query parameters. Query parameters are the key value pairs after '?'. |
OK, we should use |
|
I just found such errors in our log, but I don't figure out how it happens. |
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Our application shows the log like below due to the URL path contain non utf-8 encoded characters.
"go2sky-gRPC2020/12/28 18:49:46 send segment error rpc error: code = Internal desc = grpc: error while marshaling: proto: field "KeyStringValuePair.Value" contains invalid UTF-8"
Describe the solution you'd like
A clear and concise description of what you want to happen.
The sdk should always encode the key/value string for tags with utf-8.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: