Skip to main content

CpuSnapshot

crawlee.autoscaling.types.CpuSnapshot

A snapshot of CPU usage.

Args: used_ratio: The ratio of CPU currently in use. max_used_ratio: The maximum ratio of CPU that is considered acceptable. created_at: The time at which the measurement was taken.

Index

Properties

created_at

created_at: datetime

is_overloaded

is_overloaded: bool

Returns whether the CPU is considered as overloaded.

max_used_ratio

max_used_ratio: float

used_ratio

used_ratio: float