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 RequestTracker and TrackingGuzzleClientFactory #4

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

otsch
Copy link
Member

@otsch otsch commented Feb 14, 2024

When steps need to execute HTTP requests without the HttpLoader from the crawler package (for example when using some REST API SDK), developers are encouraged to utilize either a Guzzle Client instance generated by the TrackingGuzzleClientFactory or invoke the trackHttpResponse() or trackHeadlessBrowserResponse() methods of the RequestTracker manually after each request. This enables seamless tracking of requests within the crwl.io app.

When steps need to execute HTTP requests without the `HttpLoader` from
the crawler package (for example when using some REST API SDK),
developers are encouraged to utilize either a Guzzle Client instance
generated by the `TrackingGuzzleClientFactory` or invoke the
`trackHttpResponse()` or `trackHeadlessBrowserResponse()` methods of the
`RequestTracker` manually after each request. This enables seamless
tracking of requests within the crwl.io app.
@otsch otsch merged commit 1553d3a into main Feb 14, 2024
5 checks passed
@otsch otsch deleted the feature/tracking-http-requests branch February 14, 2024 15:50
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.

1 participant