ClientStatistics
Index
Methods
Properties
Methods
add_rate_limit_error
Add rate limit error for specific attempt.
Parameters
attempt: int
The attempt number (1-based indexing).
Returns None
Properties
calls
Total number of calls made by the client, including requests to Actor servers.
rate_limit_errors
Number of rate limit (429) errors per attempt, keyed by the 0-based attempt index.
Reading a missing key adds it with a count of 0. Use .get() to read a count without changing the dict.
requests
Total number of HTTP requests sent, including retries.
Statistics about API client usage and rate limit errors.