pub struct StatisticsSnapshot {Show 13 fields
pub requests_finished: u64,
pub requests_failed: u64,
pub requests_retries: u64,
pub requests_finished_per_minute: f64,
pub requests_failed_per_minute: f64,
pub request_avg_duration: Duration,
pub request_min_duration: Duration,
pub request_max_duration: Duration,
pub status_codes: BTreeMap<u16, u64>,
pub crawler_runtime: Duration,
pub retry_histogram: Vec<u64>,
pub errors: BTreeMap<String, u64>,
pub retry_errors: BTreeMap<String, u64>,
}Expand description
A point-in-time view of crawl statistics.
Fields§
§requests_finished: u64Number of successfully completed requests.
requests_failed: u64Number of terminally failed requests.
requests_retries: u64Number of retry attempts recorded.
requests_finished_per_minute: f64Successful completions per minute in the configured sliding window.
requests_failed_per_minute: f64Terminal failures per minute in the configured sliding window.
request_avg_duration: DurationAverage cumulative processing duration of terminal requests.
request_min_duration: DurationMinimum cumulative processing duration, or zero before any completion.
request_max_duration: DurationMaximum cumulative processing duration, or zero before any completion.
status_codes: BTreeMap<u16, u64>Terminal successful responses grouped by HTTP status code.
crawler_runtime: DurationTotal time for which crawl runs have been active.
retry_histogram: Vec<u64>Terminal completions grouped by retry count, indexed by retry count.
errors: BTreeMap<String, u64>Terminal failures grouped by their capped error key.
retry_errors: BTreeMap<String, u64>Retried failures grouped by their capped error key.
Trait Implementations§
Source§impl Clone for StatisticsSnapshot
impl Clone for StatisticsSnapshot
Source§fn clone(&self) -> StatisticsSnapshot
fn clone(&self) -> StatisticsSnapshot
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more