-
Notifications
You must be signed in to change notification settings - Fork 706
Support type bytes
for OTLP AnyValue
encoding
#4118
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
Comments
we just need a check right in OTLP as we have for other types in proto ? |
Yeah should be the only thing that is needed. |
ok creating a PR for it as a draft first |
Unfortunately, the #4218 alone is not enough. The bytes-valued attributes are coerced to strings way before they reach the exporter. It happens here: opentelemetry-python/opentelemetry-api/src/opentelemetry/attributes/__init__.py Lines 110 to 121 in afec2dd
What would be better to reopen this issue or create a new one? |
@dimaqq please open a new one, referencing this |
Sure, #4460 |
Is your feature request related to a problem?
Proto definition of
AnyValue
supportsbytes
values. Our current encoding logic doesn't support this yet.Describe the solution you'd like
Add support in encoding logic for
bytes
type.Describe alternatives you've considered
No response
Additional Context
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: