Skip to content

Commit 9e46aeb

Browse files
author
Stan Drozd
committed
pyth-wormhole-attester: v1.3.1, use different manual buckets
1 parent 0a93d47 commit 9e46aeb

File tree

1 file changed

+1
-2
lines changed
  • wormhole-attester/client/src

1 file changed

+1
-2
lines changed

wormhole-attester/client/src/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ lazy_static! {
105105
static ref SOL_RPC_TX_PROCESSING_HIST: Histogram = register_histogram!(
106106
"sol_rpc_tx_processing",
107107
"How long in milliseconds it takes to send a transaction to the Solana RPC",
108-
prometheus::exponential_buckets(0.016, 2.0, 13) // 0.016s, 0.032s, 0.064s, [...], 65.536s
109-
.expect("FATAL: Could not instantiate buckets for SOL_RPC_TX_PROCESSING_HIST")
108+
vec![0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0, 2.5, 3.0, 3.5, 4.0, 5.0, 10.0, 20.0, 30.0, 60.0] // Buckets, 1.0 = 1 second
110109
)
111110
.expect("FATAL: Could not instantiate SOL_RPC_TX_PROCESSING_HIST");
112111
}

0 commit comments

Comments
 (0)