diff --git a/src/rust/lqosd/src/throughput_tracker/mod.rs b/src/rust/lqosd/src/throughput_tracker/mod.rs index 4a5e9579..5b134e63 100644 --- a/src/rust/lqosd/src/throughput_tracker/mod.rs +++ b/src/rust/lqosd/src/throughput_tracker/mod.rs @@ -413,7 +413,7 @@ pub fn rtt_histogram() -> BusResponse { .collect(); let samples = valid_samples.len() as u32; if samples > 0 { - let median = valid_samples[valid_samples.len() / 2] as f32; + let median = valid_samples[valid_samples.len() / 2] as f32 / 10.0; let median = f32::min(200.0, median); let column = median as usize; result[usize::min(column, 19)] += 1;