Skip to content

feat: expose request statistics on ApifyClient - #1228

Open
cobanfurkanx wants to merge 1 commit into
apify:masterfrom
cobanfurkanx:feat/expose-client-statistics
Open

cobanfurkanx wants to merge 1 commit into
apify:masterfrom
cobanfurkanx:feat/expose-client-statistics

Conversation

@cobanfurkanx

Copy link
Copy Markdown

Closes #1175

  • Export ClientStatistics from apify_client (__all__) and mark it with @docs_group('Other').
  • Add a read-only statistics property on HttpClientBase, ApifyClient, and ApifyClientAsync.
  • Point instance._statistics to http_client.statistics in ApifyClient.with_custom_http_client() and ApifyClientAsync.with_custom_http_client().
  • Add unit tests covering ClientStatistics export and .statistics tracking with both default and custom HTTP clients (sync and async).

@github-actions github-actions Bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Nov 15, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose request statistics on ApifyClient

1 participant