Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions wormhole-attester/client/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,8 @@ lazy_static! {
.expect("FATAL: Could not instantiate LAST_SEQNO_GAUGE");
static ref SOL_RPC_TX_PROCESSING_HIST: Histogram = register_histogram!(
"sol_rpc_tx_processing",
"How long in milliseconds it takes to send a transaction to the Solana RPC",
prometheus::exponential_buckets(0.016, 2.0, 13) // 0.016s, 0.032s, 0.064s, [...], 65.536s
.expect("FATAL: Could not instantiate buckets for SOL_RPC_TX_PROCESSING_HIST")
"How long in seconds it takes to send a transaction to the Solana RPC",
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
)
.expect("FATAL: Could not instantiate SOL_RPC_TX_PROCESSING_HIST");
}
Expand Down