Skip to content

Fixing the serialization of a tuple element by coercing it into a string#865

Merged
toumorokoshi merged 4 commits intoopen-telemetry:masterfrom
bitspradp:serialize_tuple_objects
Jul 13, 2020
Merged

Fixing the serialization of a tuple element by coercing it into a string#865
toumorokoshi merged 4 commits intoopen-telemetry:masterfrom
bitspradp:serialize_tuple_objects

Conversation

@bitspradp
Copy link
Copy Markdown
Contributor

@bitspradp bitspradp commented Jun 27, 2020

Fixes #818

This PR aims at fix the serialization of tuple type values by coercing them into a string.

Tests make sure that this type is handled correctly. The current test is enhanced to include tuple type as well.

@bitspradp bitspradp requested a review from a team June 27, 2020 19:00
@bitspradp
Copy link
Copy Markdown
Contributor Author

The CI for this PR has failed because of the test_fn_task_apply_async.

Copy link
Copy Markdown
Member

@toumorokoshi toumorokoshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick comment on the change log, but looks good otherwise! Thanks for submitting.


- Transform resource to tags when exporting
([#645](https://github.com/open-telemetry/opentelemetry-python/pull/645))
- ext/boto: Could not serialize attribute aws.region to tag when exporting via jaeger
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind changing this to be more descriptive of the change? I think the "why" is good too, but knowing precisely what the fix or behavioral change was will apply more broadly to those reading the changelog.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ack

Copy link
Copy Markdown
Member

@toumorokoshi toumorokoshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing the changelog!

@toumorokoshi toumorokoshi merged commit e31c4bb into open-telemetry:master Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ext/boto: Could not serialize attribute aws.region to tag when exporting via jaeger

3 participants