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

[receiver/googlepubsub] fix span and trace id parsing crash #33247

Closed

Conversation

alexvanboxel
Copy link
Contributor

@alexvanboxel alexvanboxel commented May 28, 2024

Description:
Fixed a crash in the span and trace ID parsing when encountering corrupt data. Enhanced the cloud_logging parsing so it's better testable and includes additional tests. Made the code read for options in the parsing json/protoPayload (implementation not included).

Includes minor fixes in the README.

Link to tracking Issue:
#32007

Testing:
Added additional tests for the bug (trace and span id), but also for several of the other mappings.

Documentation:
The documentation now also includes all of the mappings the receiver does in cloud_logging mode.

@alexvanboxel alexvanboxel requested review from a team and andrzej-stencel May 28, 2024 07:11
@alexvanboxel alexvanboxel force-pushed the cloud_log_enhance branch 3 times, most recently from 071c7af to 5628c2f Compare May 28, 2024 09:29
Copy link
Contributor

@tiffany76 tiffany76 left a comment

Choose a reason for hiding this comment

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

Tech writer here. Just a few tiny docs fixes. Thanks!

receiver/googlecloudpubsubreceiver/README.md Outdated Show resolved Hide resolved
receiver/googlecloudpubsubreceiver/README.md Outdated Show resolved Hide resolved
receiver/googlecloudpubsubreceiver/README.md Outdated Show resolved Hide resolved
receiver/googlecloudpubsubreceiver/README.md Outdated Show resolved Hide resolved
@alexvanboxel
Copy link
Contributor Author

Tech writer here. Just a few tiny docs fixes. Thanks!

Thank you

alexvanboxel and others added 2 commits May 31, 2024 11:37
Co-authored-by: Tiffany Hrabusa <30397949+tiffany76@users.noreply.github.com>
@alexvanboxel
Copy link
Contributor Author

Rebase against, main (but... it's impossible to keep up). For the approvers : I am the CODEOWNER of this receiver

Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Jun 15, 2024
Copy link
Contributor

Closed as inactive. Feel free to reopen if this PR is still being worked on.

@github-actions github-actions bot closed this Jun 30, 2024
@Manuelraa
Copy link

Could we please reopen this in order to move forward with closing #33400 ?

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

Successfully merging this pull request may close these issues.

4 participants