Skip to main content

StatisticsState

crawlee.statistics.models.StatisticsState

Statistic data about a crawler run.

Index

Errors

errors

errors: dict[str, Any]

retry_errors

retry_errors: dict[str, Any]

Properties

crawler_finished_at

crawler_finished_at: Annotated[datetime | None, Field(alias='crawlerFinishedAt')]

crawler_last_started_at

crawler_last_started_at: Annotated[datetime | None, Field(alias='crawlerLastStartTimestamp')]

crawler_runtime

crawler_runtime: Annotated[timedelta_ms, Field(alias='crawlerRuntimeMillis')]

crawler_started_at

crawler_started_at: Annotated[datetime | None, Field(alias='crawlerStartedAt')]

model_config

model_config:

request_max_duration

request_max_duration: Annotated[timedelta_ms | None, Field(alias='requestMaxDurationMillis')]

request_min_duration

request_min_duration: Annotated[timedelta_ms | None, Field(alias='requestMinDurationMillis')]

request_total_failed_duration

request_total_failed_duration: Annotated[timedelta_ms, Field(alias='requestTotalFailedDurationMillis')]

request_total_finished_duration

request_total_finished_duration: Annotated[timedelta_ms, Field(alias='requestTotalFinishedDurationMillis')]

requests_failed

requests_failed: Annotated[int, Field(alias='requestsFailed')]

requests_failed_per_minute

requests_failed_per_minute: Annotated[float, Field(alias='requestsFailedPerMinute')]

requests_finished

requests_finished: Annotated[int, Field(alias='requestsFinished')]

requests_finished_per_minute

requests_finished_per_minute: Annotated[float, Field(alias='requestsFinishedPerMinute')]

requests_retries

requests_retries: Annotated[int, Field(alias='requestsRetries')]

requests_with_status_code

requests_with_status_code: dict[str, int]

stats_persisted_at

stats_persisted_at: Annotated[datetime | None, Field(alias='statsPersistedAt')]