Skip to main content

StatisticsPersistedState

crawlee.statistics.models.StatisticsPersistedState

Additional statistic data to be stored in the persisted state.

Index

Properties

crawler_last_started_at

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

model_config

model_config:

request_avg_failed_duration

request_avg_failed_duration: Annotated[timedelta_ms | None, Field(alias='requestAvgFailedDurationMillis')]

request_avg_finished_duration

request_avg_finished_duration: Annotated[timedelta_ms | None, Field(alias='requestAvgFinishedDurationMillis')]

request_retry_histogram

request_retry_histogram: Annotated[list[int], Field(alias='requestRetryHistogram')]

request_total_duration

request_total_duration: Annotated[timedelta_ms, Field(alias='requestTotalDurationMillis')]

requests_total

requests_total: Annotated[int, Field(alias='requestsTotal')]

stats_id

stats_id: Annotated[int, Field(alias='statsId')]

stats_persisted_at

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