-
Notifications
You must be signed in to change notification settings - Fork 3
Add support of FTNetworkTracer #108
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
base: main
Are you sure you want to change the base?
Conversation
…and tracking Adds FTNetworkTracer to enable comprehensive logging and tracking of network requests, responses, and errors for URLSession tasks. This improves debugging and observability. Also updates minimum platform versions.
This commit introduces a new test suite to verify the proper integration and functionality of FTNetworkTracer with FTAPIKit, ensuring network events are correctly logged.
Migrate FTNetworkTracer dependency from personal repository to futuredapp organization.
Extract MockAnalytics class from NetworkTracerIntegrationTests into a separate file for better organization and potential reusability across tests.
Added documentation to clarify the purpose and default implementation of the `networkTracer` property in the `URLServer` protocol.
Depend on a specific version instead of the main branch for stability.
jmarek41
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏
Updates the FTNetworkTracer dependency to version 0.2.1.
|
Hey there, just pitching in as an original author of FTAPIKit. Ideally, FTAPIKit should not depend on FTNetworkTracer. It is strictly not necessary and adds some overhead. Instead, URLServer can hold array of "middlewares" (new protocol can be introduced for that). This allow any logging, signposting etc. to watch for any network requests and responses. What's more, |
Network Tracer Integration and Platform Updates
This PR integrates
FTNetworkTracerfor enhanced network request logging and tracking, and updates the minimum supported platform versions.Key Features:
FTNetworkTracerto log and track network requests, responses, and errors withinURLServertasks (data, upload, download).FTNetworkTracerfunctionality.Platform Version Changes: