File tree Expand file tree Collapse file tree
terradev-credential-vault Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,3 +14,4 @@ serde_json = { workspace = true }
1414thiserror = { workspace = true }
1515zeroize = { version = " 1.7" , features = [" derive" ] }
1616parking_lot = " 0.12"
17+ chrono = { workspace = true }
Original file line number Diff line number Diff line change @@ -16,3 +16,4 @@ tokio = { workspace = true }
1616chrono = { workspace = true }
1717hdrhistogram = { workspace = true }
1818crossbeam = { workspace = true }
19+ parking_lot = " 0.12"
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ impl TelemetryPipeline {
7373 p95 : hist. value_at_quantile ( 0.95 ) as f64 ,
7474 p99 : hist. value_at_quantile ( 0.99 ) as f64 ,
7575 count : hist. len ( ) ,
76- sum : hist. sum ( ) as f64 ,
76+ sum : hist. iter ( ) . map ( |v| v * v . count ( ) ) . sum :: < u64 > ( ) as f64 ,
7777 }
7878 }
7979}
You can’t perform that action at this time.
0 commit comments