Skip to content

Add http tracing#309

Merged
dmunozv04 merged 2 commits into
mainfrom
http-tracing
May 28, 2025
Merged

Add http tracing#309
dmunozv04 merged 2 commits into
mainfrom
http-tracing

Conversation

@dmunozv04
Copy link
Copy Markdown
Owner

Adds an additional debug option, --http-tracing.
It outputs a trace of all http requests created by the app. It's only useful when developing/debugging the app

@dmunozv04 dmunozv04 requested a review from Copilot May 28, 2025 21:43
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request adds an HTTP tracing debug option to help developers trace outgoing HTTP requests. The changes involve updating the main asynchronous entry point to configure HTTP tracing, integrating a new click flag for tracing, and implementing the AiohttpTracer for logging HTTP events.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/iSponsorBlockTV/main.py Added tracing configuration support in main_async and main
src/iSponsorBlockTV/helpers.py Added click option for HTTP tracing and passed the flag to main
src/iSponsorBlockTV/debug_helpers.py Implemented AiohttpTracer for logging HTTP request/response events

@dmunozv04 dmunozv04 merged commit 57f33ec into main May 28, 2025
20 checks passed
@dmunozv04 dmunozv04 deleted the http-tracing branch May 28, 2025 21:47
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