diff --git a/crates/sui-benchmark/src/drivers/bench_driver.rs b/crates/sui-benchmark/src/drivers/bench_driver.rs index 46c56c71a70c5..31348f6a550db 100644 --- a/crates/sui-benchmark/src/drivers/bench_driver.rs +++ b/crates/sui-benchmark/src/drivers/bench_driver.rs @@ -44,7 +44,7 @@ pub struct BenchMetrics { } const LATENCY_SEC_BUCKETS: &[f64] = &[ - 0.01, 0.05, 0.1, 0.5, 1., 2.5, 5., 10., 20., 30., 40., 50., 60., 90., + 0.01, 0.05, 0.1, 0.25, 0.5, 1., 2.5, 5., 10., 20., 30., 60., 90., ]; impl BenchMetrics { diff --git a/crates/sui-core/src/authority.rs b/crates/sui-core/src/authority.rs index e12b811b8c463..e9d3274a42808 100644 --- a/crates/sui-core/src/authority.rs +++ b/crates/sui-core/src/authority.rs @@ -162,7 +162,7 @@ const POSITIVE_INT_BUCKETS: &[f64] = &[ ]; const LATENCY_SEC_BUCKETS: &[f64] = &[ - 0.001, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1., 2.5, 5., 10., 20., 30., 40., 50., 60., 90., + 0.001, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1., 2.5, 5., 10., 20., 30., 60., 90., ]; impl AuthorityMetrics { diff --git a/crates/sui-core/src/authority_active/gossip/mod.rs b/crates/sui-core/src/authority_active/gossip/mod.rs index a3679c75b13c3..743dc4514bfe6 100644 --- a/crates/sui-core/src/authority_active/gossip/mod.rs +++ b/crates/sui-core/src/authority_active/gossip/mod.rs @@ -58,7 +58,7 @@ pub struct GossipMetrics { } const WAIT_FOR_FINALITY_LATENCY_SEC_BUCKETS: &[f64] = &[ - 0.001, 0.005, 0.01, 0.05, 0.1, 0.5, 1., 2.5, 5., 10., 20., 30., 40., 50., 60., 90., + 0.001, 0.005, 0.01, 0.05, 0.1, 0.5, 1., 2.5, 5., 10., 20., 30., 60., 90., ]; const FOLLOWER_STREAM_DURATION_SEC_BUCKETS: &[f64] = &[ 0.1, 1., 5., 10., 20., 30., 40., 50., 60., 90., 120., 180., 240., 300., diff --git a/crates/sui-core/src/authority_client.rs b/crates/sui-core/src/authority_client.rs index f9641c9159987..0883c7e8c5d99 100644 --- a/crates/sui-core/src/authority_client.rs +++ b/crates/sui-core/src/authority_client.rs @@ -459,7 +459,7 @@ pub struct NetworkAuthorityClientMetrics { } const LATENCY_SEC_BUCKETS: &[f64] = &[ - 0.001, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1., 2.5, 5., 10., 20., 30., 40., 50., 60., 90., + 0.001, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1., 2.5, 5., 10., 20., 30., 60., 90., ]; impl NetworkAuthorityClientMetrics { diff --git a/crates/sui-core/src/authority_server.rs b/crates/sui-core/src/authority_server.rs index 2205948ea7fc6..7d88d721ca262 100644 --- a/crates/sui-core/src/authority_server.rs +++ b/crates/sui-core/src/authority_server.rs @@ -169,7 +169,7 @@ pub struct ValidatorServiceMetrics { } const LATENCY_SEC_BUCKETS: &[f64] = &[ - 0.001, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1., 2.5, 5., 10., 20., 30., 40., 50., 60., 90., + 0.001, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1., 2.5, 5., 10., 20., 30., 60., 90., ]; impl ValidatorServiceMetrics { diff --git a/crates/sui-core/src/safe_client.rs b/crates/sui-core/src/safe_client.rs index 6ce58b088f846..49d3ae21d039e 100644 --- a/crates/sui-core/src/safe_client.rs +++ b/crates/sui-core/src/safe_client.rs @@ -37,7 +37,7 @@ pub struct SafeClientMetrics { } const LATENCY_SEC_BUCKETS: &[f64] = &[ - 0.001, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1., 2.5, 5., 10., 20., 30., 40., 50., 60., 90., + 0.001, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1., 2.5, 5., 10., 20., 30., 60., 90., ]; impl SafeClientMetrics { diff --git a/crates/sui-faucet/src/metrics.rs b/crates/sui-faucet/src/metrics.rs index 0676078453063..300c0b4d70e71 100644 --- a/crates/sui-faucet/src/metrics.rs +++ b/crates/sui-faucet/src/metrics.rs @@ -16,7 +16,7 @@ pub struct FaucetMetrics { pub(crate) process_latency: Histogram, } const LATENCY_SEC_BUCKETS: &[f64] = &[ - 0.001, 0.005, 0.01, 0.05, 0.1, 0.5, 1., 2.5, 5., 10., 20., 30., 40., 50., 60., 90., + 0.001, 0.005, 0.01, 0.05, 0.1, 0.5, 1., 2.5, 5., 10., 20., 30., 60., 90., ]; impl FaucetMetrics { diff --git a/crates/sui-json-rpc/src/lib.rs b/crates/sui-json-rpc/src/lib.rs index e434a3f87eba3..85b86aabe5cec 100644 --- a/crates/sui-json-rpc/src/lib.rs +++ b/crates/sui-json-rpc/src/lib.rs @@ -198,7 +198,7 @@ pub struct JsonRpcMetrics { } const LATENCY_SEC_BUCKETS: &[f64] = &[ - 0.001, 0.005, 0.01, 0.05, 0.1, 0.5, 1., 2.5, 5., 10., 20., 30., 40., 50., 60., 90., + 0.001, 0.005, 0.01, 0.05, 0.1, 0.25, 0.5, 1., 2.5, 5., 10., 20., 30., 60., 90., ]; impl JsonRpcMetrics { diff --git a/crates/sui-quorum-driver/src/metrics.rs b/crates/sui-quorum-driver/src/metrics.rs index 6ca75376f3672..6b0cb1933114c 100644 --- a/crates/sui-quorum-driver/src/metrics.rs +++ b/crates/sui-quorum-driver/src/metrics.rs @@ -24,7 +24,7 @@ pub struct QuorumDriverMetrics { } const LATENCY_SEC_BUCKETS: &[f64] = &[ - 0.01, 0.05, 0.1, 0.5, 1., 2.5, 5., 10., 20., 30., 40., 50., 60., 90., + 0.01, 0.05, 0.1, 0.25, 0.5, 1., 2., 4., 6., 8., 10., 20., 30., 60., 90., ]; impl QuorumDriverMetrics {