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

logs: handle None in _encode_value #4279

Open
xrmx opened this issue Nov 14, 2024 · 0 comments
Open

logs: handle None in _encode_value #4279

xrmx opened this issue Nov 14, 2024 · 0 comments

Comments

@xrmx
Copy link
Contributor

xrmx commented Nov 14, 2024

Is your feature request related to a problem?

#4276 adding a workaround for serializing logs with empy body.

Describe the solution you'd like

Since the addition of null as valid value for Any may have been added after our implementation we may want to update the opentelemetry.exporter.otlp.proto.common._internal._encode_value to handle None gracefully.

Describe alternatives you've considered

No response

Additional Context

No response

Would you like to implement a fix?

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant