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 instrumentation for HTTPX #2278

Merged
merged 5 commits into from
Oct 20, 2023
Merged

add instrumentation for HTTPX #2278

merged 5 commits into from
Oct 20, 2023

Conversation

fallwith
Copy link
Contributor

adds instrumentation for HTTPX

resolves: n/a (Hacktoberfest contribution)

Everybody Else Is Doing It, So Why Can't We?
reused template fix
restrict httpx testing to Ruby 2.7+
- third argument to `prepend_instrument` is unnecessary
- finish testing error handling
  - error responses and http responses aren't interchangeable, so
    rework the response wrapper accordingly
  - error response objects have a great `#to_s` defined, so let's
    just use it
kaylareopelle
kaylareopelle previously approved these changes Oct 20, 2023
Copy link
Contributor

@kaylareopelle kaylareopelle 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 your contribution, @fallwith! 😄 🎃

@github-actions
Copy link
Contributor

SimpleCov Report

Coverage Threshold
Line 94.2% 94%
Branch 85.81% 85%

@kaylareopelle kaylareopelle merged commit 4f2ffa3 into dev Oct 20, 2023
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants