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

capture_request_text_body #722

Merged
merged 5 commits into from
Dec 23, 2024
Merged

capture_request_text_body #722

merged 5 commits into from
Dec 23, 2024

Conversation

alexmojaki
Copy link
Contributor

Also added a new class LogfireHttpxRequestInfo that wraps the original OTEL RequestInfo and adds lots of tiny methods and properties breaking down the logic of capturing various things. The idea is that users could use this to easily build their own variations in hooks. Planning to do the same for responses.

Copy link

codecov bot commented Dec 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (56f661e) to head (d7583fe).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #722   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          138       138           
  Lines        11128     11170   +42     
  Branches      1554      1567   +13     
=========================================
+ Hits         11128     11170   +42     

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

Copy link

cloudflare-workers-and-pages bot commented Dec 23, 2024

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: d7583fe
Status: ✅  Deploy successful!
Preview URL: https://c4809259.logfire-docs.pages.dev
Branch Preview URL: https://alex-httpx-text-2.logfire-docs.pages.dev

View logs

@alexmojaki alexmojaki requested a review from Kludex December 23, 2024 15:23
@alexmojaki alexmojaki merged commit ecdd723 into main Dec 23, 2024
14 checks passed
@alexmojaki alexmojaki deleted the alex/httpx-text-2 branch December 23, 2024 16:09
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