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

Unmarshal span and link flags from JSON #11275

Merged
merged 3 commits into from
Sep 25, 2024

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Sep 25, 2024

For both the Span and SpanLink, the current unmarshalJsoniter methods do not unmarshal the flags field. This updates the functionality to correctly decode these values into the destination.

Fix #11267

Signed-off-by: Tyler Yahn codingalias@gmail.com

For both the `Span` and `SpanLink`, the current unmarshalJsoniter
methods do not unmarshal the `flags` field. This updates the
functionality to correctly decode these values into the destination.

Fix open-telemetry#11267

Signed-off-by: Tyler Yahn <codingalias@gmail.com>
@MrAlias MrAlias marked this pull request as ready for review September 25, 2024 16:45
@MrAlias MrAlias requested a review from a team as a code owner September 25, 2024 16:45
Copy link

codecov bot commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.44%. Comparing base (0ed97aa) to head (c547f99).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #11275   +/-   ##
=======================================
  Coverage   91.44%   91.44%           
=======================================
  Files         424      424           
  Lines       20182    20186    +4     
=======================================
+ Hits        18456    18460    +4     
  Misses       1342     1342           
  Partials      384      384           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

.chloggen/json-decoded-flag.yaml Outdated Show resolved Hide resolved
bogdandrutu and others added 2 commits September 25, 2024 12:33
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
@bogdandrutu bogdandrutu merged commit 04379eb into open-telemetry:main Sep 25, 2024
49 checks passed
@github-actions github-actions bot added this to the next release milestone Sep 25, 2024
@MrAlias MrAlias deleted the json-decoded-flag branch September 25, 2024 20:52
bogdandrutu added a commit that referenced this pull request Sep 26, 2024
…r int (#11279)

Bug added in
#11275

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
jackgopack4 pushed a commit to jackgopack4/opentelemetry-collector that referenced this pull request Oct 8, 2024
For both the `Span` and `SpanLink`, the current unmarshalJsoniter
methods do not unmarshal the `flags` field. This updates the
functionality to correctly decode these values into the destination.

Fix open-telemetry#11267

Signed-off-by: Tyler Yahn <codingalias@gmail.com>

---------

Signed-off-by: Tyler Yahn <codingalias@gmail.com>
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
jackgopack4 pushed a commit to jackgopack4/opentelemetry-collector that referenced this pull request Oct 8, 2024
…r int (open-telemetry#11279)

Bug added in
open-telemetry#11275

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
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.

Span flags are not decoded
3 participants