Skip to content

fix: Fix double counting of Faraday spans when using net_http_persistent adapter - #3017

Open
robertjlooby wants to merge 3 commits into
getsentry:masterfrom
robertjlooby:fix-net-http-persistent
Open

fix: Fix double counting of Faraday spans when using net_http_persistent adapter#3017
robertjlooby wants to merge 3 commits into
getsentry:masterfrom
robertjlooby:fix-net-http-persistent

Conversation

@robertjlooby

Copy link
Copy Markdown

When using the net_http_persistent Faraday adapter (https://github.com/lostisland/faraday-net_http_persistent) with the faraday patch, the spans/breadcrumbs are double counted.

@solnic solnic left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for the PR! Would you mind resolving conflicts (probably it's going to be easier to just reapply commits on a freshly reset branch and f-push) and also see my question re test adapter 😄

Comment thread sentry-ruby/Gemfile
gem "yard"
gem "webrick"
gem "faraday"
gem "faraday-net_http_persistent"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can we not introduce this dep and use a test adapter that would reproduce the issue instead?

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.

2 participants