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

add a span interceptor to treat expected errors as non-errors #18192

Merged
merged 9 commits into from
Oct 20, 2022

Conversation

colesnodgrass
Copy link
Member

What

  • treat expected 404 messages from google storage as non-errors

How

Create an interceptor that looks for specific error spans and marks them as non-errors. This is necessary as the google storage client automatically marks any 404 response from their api as an error on the span they create. As we don't have any ability to directly influence how they create their span or what they consider to be an error, we have to do this afterwards via this interceptor.

@github-actions github-actions bot added area/platform issues related to the platform area/worker Related to worker labels Oct 19, 2022
Copy link
Contributor

@jdpgrailsdev jdpgrailsdev left a comment

Choose a reason for hiding this comment

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

:shipit:

@colesnodgrass colesnodgrass temporarily deployed to more-secrets October 19, 2022 23:25 Inactive
@colesnodgrass colesnodgrass merged commit d75604a into master Oct 20, 2022
@colesnodgrass colesnodgrass deleted the cole/dd-filter branch October 20, 2022 00:19
jhammarstedt pushed a commit to jhammarstedt/airbyte that referenced this pull request Oct 31, 2022
…ehq#18192)

* wip; tracer interceptor

* fix span check

* update logs for testing

* more debugging

* more debugging

* more debugging

* more debugging

* remove debugging; add test

* address one pmd error and ignore another
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/platform issues related to the platform area/worker Related to worker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants