Skip to main content

throughput_drop_event

Function throughput_drop_event 

Source
pub fn throughput_drop_event(
    current_rps: f64,
    baseline_rps: f64,
    min_drop_percent: f64,
) -> Option<WebhookEvent>
Expand description

Build a WebhookEvent::ThroughputDrop event.

Returns None if the drop is less than min_drop_percent.