Skip to content

Commit

Permalink
chore: add storage metrics
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Paitrault <[email protected]>
  • Loading branch information
Freyskeyd committed Jun 29, 2023
1 parent 04dc561 commit 24b96c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/topos-metrics/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ lazy_static! {
pub static ref STORAGE_PENDING_CERTIFICATE_EXISTANCE_LATENCY: Histogram = register_histogram!(
"storage_pending_certificate_existance_latency",
"Latency of the pending certificate existance check.",
vec![0.001, 0.005, 0.01, 0.05, 0.1, 0.5]
vec![0.0001, 0.0005, 0.001, 0.005, 0.01, 0.05]
).unwrap();

pub static ref STORAGE_ADDING_PENDING_CERTIFICATE_LATENCY: Histogram = register_histogram!(
"storage_adding_pending_certificate_latency",
"Latency of adding a pending certificate.",
vec![0.001, 0.005, 0.01, 0.05, 0.1, 0.5]
vec![0.0001, 0.0005, 0.001, 0.005, 0.01, 0.05]
).unwrap();

// Double echo
Expand Down

0 comments on commit 24b96c6

Please sign in to comment.